summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/arch/instructions/undefined.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/arch/instructions/undefined.c')
-rw-r--r--plugins/pychrysalide/arch/instructions/undefined.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/pychrysalide/arch/instructions/undefined.c b/plugins/pychrysalide/arch/instructions/undefined.c
index ee7dc51..66ae4b6 100644
--- a/plugins/pychrysalide/arch/instructions/undefined.c
+++ b/plugins/pychrysalide/arch/instructions/undefined.c
@@ -145,7 +145,7 @@ static int py_undef_instruction_init(PyObject *self, PyObject *args, PyObject *k
" UndefInstruction(behavior)" \
"\n" \
"Where behavior is a" \
- " pychrysalide.arch.instructions.UndefInstruction.InstrExpectedBehavior" \
+ " pychrysalide.arch.instructions.UndefInstruction.ExpectedBehavior" \
" constant describing the state of the CPU once the instruction is run."
/* Récupération des paramètres */
@@ -197,21 +197,21 @@ static PyObject *py_undef_instruction_get_behavior(PyObject *self, void *closure
GUndefInstruction *instr; /* Version native */
InstrExpectedBehavior behavior; /* Comportement attendu */
-#define UNDEF_INSTRUCTION_BEHAVIOR_ATTRIB PYTHON_GET_DEF_FULL \
-( \
- behavior, py_undef_instruction, \
- "Consequence carried by the undefined instruction.\n" \
- "\n" \
- "The result is provided as a" \
- " pychrysalide.arch.instructions.UndefInstruction.InstrExpectedBehavior" \
- " constant." \
+#define UNDEF_INSTRUCTION_BEHAVIOR_ATTRIB PYTHON_GET_DEF_FULL \
+( \
+ behavior, py_undef_instruction, \
+ "Consequence carried by the undefined instruction.\n" \
+ "\n" \
+ "The result is provided as a" \
+ " pychrysalide.arch.instructions.UndefInstruction.ExpectedBehavior" \
+ " constant." \
)
instr = G_UNDEF_INSTRUCTION(pygobject_get(self));
behavior = g_undef_instruction_get_behavior(instr);
result = cast_with_constants_group_from_type(get_python_undefined_instruction_type(),
- "InstrExpectedBehavior", behavior);
+ "ExpectedBehavior", behavior);
return result;