summaryrefslogtreecommitdiff
path: root/plugins/arm/v7/operands/offset.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-12-26 00:26:28 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-12-26 00:26:28 (GMT)
commit98570719ff25a4dcde917056e55490bf2a6b1453 (patch)
tree4a01b57580aa05f8a55d37abbc4ddd178fb55a99 /plugins/arm/v7/operands/offset.c
parent94efb7bf5239cf984a0dda9949a26719a8ae2090 (diff)
Provide a method to hash all ARMv7 operands.
Diffstat (limited to 'plugins/arm/v7/operands/offset.c')
-rw-r--r--plugins/arm/v7/operands/offset.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/arm/v7/operands/offset.c b/plugins/arm/v7/operands/offset.c
index fc68638..1634230 100644
--- a/plugins/arm/v7/operands/offset.c
+++ b/plugins/arm/v7/operands/offset.c
@@ -28,10 +28,12 @@
#include <string.h>
-#include <arch/operand-int.h>
#include <gtkext/gtkblockdisplay.h>
+#include "../operand-int.h"
+
+
/* -------------------------- DEFINITION D'UN NOUVEAU TYPE -------------------------- */
@@ -39,7 +41,7 @@
/* Définition d'un opérande visant à constituer un décalage relatif ARMv7 (instance) */
struct _GArmV7OffsetOperand
{
- GArchOperand parent; /* Instance parente */
+ GArmV7Operand parent; /* Instance parente */
GArchOperand *value; /* Valeur du décalage */
@@ -49,7 +51,7 @@ struct _GArmV7OffsetOperand
/* Définition d'un opérande visant à constituer un décalage relatif ARMv7 (classe) */
struct _GArmV7OffsetOperandClass
{
- GArchOperandClass parent; /* Classe parente */
+ GArmV7OperandClass parent; /* Classe parente */
};
@@ -97,7 +99,7 @@ static bool g_armv7_offset_operand_store(GArmV7OffsetOperand *, GObjectStorage *
/* Indique le type défini par la GLib pour un décalage relatif ARMv7. */
-G_DEFINE_TYPE(GArmV7OffsetOperand, g_armv7_offset_operand, G_TYPE_ARCH_OPERAND);
+G_DEFINE_TYPE(GArmV7OffsetOperand, g_armv7_offset_operand, G_TYPE_ARMV7_OPERAND);
/******************************************************************************