summaryrefslogtreecommitdiff
path: root/plugins/stackvars/operand.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-04-05 18:09:02 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-04-05 18:09:02 (GMT)
commitb15f45921eea3dda27a4f03c9928fbd9c6418a54 (patch)
tree2f2e1839c045abaf24491f0cdbf1e7762447053c /plugins/stackvars/operand.h
parent50dcb7b1f40bb9e66d4872a7eebd364c6ea11125 (diff)
Fixed and updated GType macros dealing with non-existent interfaces.
Diffstat (limited to 'plugins/stackvars/operand.h')
-rw-r--r--plugins/stackvars/operand.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/stackvars/operand.h b/plugins/stackvars/operand.h
index eb6b737..d1820d5 100644
--- a/plugins/stackvars/operand.h
+++ b/plugins/stackvars/operand.h
@@ -34,10 +34,12 @@
-#define G_TYPE_STACK_VAR_OPERAND g_stack_var_operand_get_type()
-#define G_STACK_VAR_OPERAND(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), g_stack_var_operand_get_type(), GStackVarOperand))
-#define G_IS_STACK_VAR_OPERAND(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), g_stack_var_operand_get_type()))
-#define G_STACK_VAR_OPERAND_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE((inst), g_stack_var_operand_get_type(), GStackVarOperandIface))
+#define G_TYPE_STACK_VAR_OPERAND g_stack_var_operand_get_type()
+#define G_STACK_VAR_OPERAND(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_STACK_VAR_OPERAND, GStackVarOperand))
+#define G_IS_STACK_VAR_OPERAND(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_STACK_VAR_OPERAND))
+#define G_STACK_VAR_OPERAND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), G_TYPE_STACK_VAR_OPERAND, GStackVarOperandClass))
+#define G_IS_STACK_VAR_OPERAND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), G_TYPE_STACK_VAR_OPERAND))
+#define G_STACK_VAR_OPERAND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), G_TYPE_STACK_VAR_OPERAND, GStackVarOperandClass))
/* Définition d'un opérande de substitution pour variable de pile (instance) */