diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-04-05 18:09:02 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-04-05 18:09:02 (GMT) |
commit | b15f45921eea3dda27a4f03c9928fbd9c6418a54 (patch) | |
tree | 2f2e1839c045abaf24491f0cdbf1e7762447053c /src/arch/jvm/instruction.h | |
parent | 50dcb7b1f40bb9e66d4872a7eebd364c6ea11125 (diff) |
Fixed and updated GType macros dealing with non-existent interfaces.
Diffstat (limited to 'src/arch/jvm/instruction.h')
-rw-r--r-- | src/arch/jvm/instruction.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/arch/jvm/instruction.h b/src/arch/jvm/instruction.h index bac55be..8ec9c48 100644 --- a/src/arch/jvm/instruction.h +++ b/src/arch/jvm/instruction.h @@ -117,10 +117,12 @@ typedef enum _JvmOpcodes } JvmOpcodes; -#define G_TYPE_JVM_INSTRUCTION g_jvm_instruction_get_type() -#define G_JVM_INSTRUCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), g_jvm_instruction_get_type(), GJvmInstruction)) -#define G_IS_JVM_INSTRUCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), g_jvm_instruction_get_type())) -#define G_JVM_INSTRUCTION_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE((inst), g_jvm_instruction_get_type(), GJvmInstructionIface)) +#define G_TYPE_JVM_INSTRUCTION g_jvm_instruction_get_type() +#define G_JVM_INSTRUCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_JVM_INSTRUCTION, GJvmInstruction)) +#define G_IS_JVM_INSTRUCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_JVM_INSTRUCTION)) +#define G_JVM_INSTRUCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), G_TYPE_JVM_INSTRUCTION, GJvmInstructionClass)) +#define G_IS_JVM_INSTRUCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), G_TYPE_JVM_INSTRUCTION)) +#define G_JVM_INSTRUCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), G_TYPE_JVM_INSTRUCTION, GJvmInstructionClass)) /* Définition générique d'une instruction d'architecture JVM (instance) */ |