summaryrefslogtreecommitdiff
path: root/src/arch/operand-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-05-11 23:42:48 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-05-11 23:42:48 (GMT)
commit96cb6971ee3ca529958b8cb1e8e55a6eb4e60eae (patch)
tree68e49f325de3e93ef186d3e078da8ddc473aedf7 /src/arch/operand-int.h
parent80dc0ac97987ad9246bee7c47458a015339453bf (diff)
Reorganized the way the program is built again and added partial support for the JVM.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@63 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/operand-int.h')
-rw-r--r--src/arch/operand-int.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/arch/operand-int.h b/src/arch/operand-int.h
index 000700c..4a515c3 100644
--- a/src/arch/operand-int.h
+++ b/src/arch/operand-int.h
@@ -28,6 +28,9 @@
#include <stdint.h>
+#include "operand.h"
+
+
/* Types d'opérandes rencontrables */
typedef enum _AsmOperandType
@@ -80,4 +83,43 @@ struct _asm_operand
+
+
+
+
+/* Traduit un opérande en version humainement lisible. */
+typedef char * (* get_operand_text_fc) (const GArchOperand *, const exe_format *, AsmSyntax);
+
+
+/* Définition générique d'un opérande d'architecture (instance) */
+struct _GArchOperand
+{
+ GObject parent; /* A laisser en premier */
+
+ get_operand_text_fc get_text; /* Texte humain équivalent */
+
+};
+
+
+
+
+
+
+
+/* Définition générique d'un opérande d'architecture (classe) */
+struct _GArchOperandClass
+{
+ GObjectClass parent; /* A laisser en premier */
+
+};
+
+
+
+
+
+
+
+
+
+
#endif /* _ARCH_OPERAND_INT_H */