summaryrefslogtreecommitdiff
path: root/src/arch/operand-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-11-05 19:45:08 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-11-05 19:45:08 (GMT)
commitc35d5d4ce62b812ec0aa4a5ebbacb84cd0901d53 (patch)
treeca0262ce4f0a24bdfbc1b9a4ffa1bbb202d47820 /src/arch/operand-int.h
parentf5df6496fa50927d3d274c939a888afde652b7ad (diff)
Removed the old interface for rendering lines.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@278 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
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 */
};