summaryrefslogtreecommitdiff
path: root/src/arch/operand-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/operand-int.h')
-rw-r--r--src/arch/operand-int.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/arch/operand-int.h b/src/arch/operand-int.h
index 9bb9da1..d9ebde0 100644
--- a/src/arch/operand-int.h
+++ b/src/arch/operand-int.h
@@ -26,7 +26,6 @@
#include "operand.h"
-#include "../analysis/exporter-int.h"
@@ -34,19 +33,15 @@
typedef bool (* operand_compare_fc) (const GArchOperand *, const GArchOperand *);
/* Traduit un opérande en version humainement lisible. */
-typedef char * (* get_operand_text_fc) (const GArchOperand *, const GExeFormat *, AsmSyntax);
-
-/* Traduit un opérande en version humainement lisible. */
typedef void (* operand_print_fc) (const GArchOperand *, GBufferLine *, AsmSyntax);
/* Définition générique d'un opérande d'architecture (instance) */
struct _GArchOperand
{
- GContentExporter parent; /* A laisser en premier */
+ GObject parent; /* A laisser en premier */
operand_compare_fc compare; /* Comparaison d'opérandes */
- get_operand_text_fc get_text; /* Texte humain équivalent */
operand_print_fc print; /* Texte humain équivalent */
};
@@ -55,7 +50,7 @@ struct _GArchOperand
/* Définition générique d'un opérande d'architecture (classe) */
struct _GArchOperandClass
{
- GContentExporterClass parent; /* A laisser en premier */
+ GObjectClass parent; /* A laisser en premier */
};