diff options
-rw-r--r-- | plugins/pychrysalide/arch/instruction.c | 1 | ||||
-rw-r--r-- | src/arch/instruction.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/plugins/pychrysalide/arch/instruction.c b/plugins/pychrysalide/arch/instruction.c index fb2df5b..1be3edb 100644 --- a/plugins/pychrysalide/arch/instruction.c +++ b/plugins/pychrysalide/arch/instruction.c @@ -864,6 +864,7 @@ static bool py_arch_instruction_define_constants(PyTypeObject *obj_type) result &= PyDict_AddULongMacro(obj_type, ILT_CALL); result &= PyDict_AddULongMacro(obj_type, ILT_CATCH_EXCEPTION); result &= PyDict_AddULongMacro(obj_type, ILT_REF); + result &= PyDict_AddULongMacro(obj_type, ILT_COUNT); return result; diff --git a/src/arch/instruction.h b/src/arch/instruction.h index 217e38b..cf9189b 100644 --- a/src/arch/instruction.h +++ b/src/arch/instruction.h @@ -206,7 +206,9 @@ typedef enum _InstructionLinkType ILT_LOOP, /* Retour en arrière (boucle) */ ILT_CALL, /* Appel d'une fonction */ ILT_CATCH_EXCEPTION, /* Gestion d'une exception */ - ILT_REF /* Simple référence croisée */ + ILT_REF, /* Simple référence croisée */ + + ILT_COUNT } InstructionLinkType; |