diff options
Diffstat (limited to 'src/arch/operand-int.h')
-rw-r--r-- | src/arch/operand-int.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/arch/operand-int.h b/src/arch/operand-int.h index 535df1b..3caca46 100644 --- a/src/arch/operand-int.h +++ b/src/arch/operand-int.h @@ -30,14 +30,20 @@ +/* Fournit le gestionnaire de partages attribué à un type. */ +typedef GShareManager * (* get_operand_manager_fc) (void); + /* Initialise un nouvel objet partagé avec des informations. */ -typedef bool (* operand_do_init_fc) (GArchOperand *, const GArchOperand *); +typedef bool (* apply_operand_template_fc) (GArchOperand *, const GArchOperand *); + +/* Procède à l'initialisation de l'interface de partage. */ +typedef void (* define_operand_template_fc) (const GArchOperand *, GArchOperand *); -/* Réalise une copie minimale d'un contenu partagé. */ -typedef void (* operand_qck_copy_fc) (const GArchOperand *, GArchOperand *); +/* Initialise un nouvel objet partagé avec des informations. */ +typedef bool (* free_operand_template_fc) (const GArchOperand *, GArchOperand *); /* Compare un opérande avec un autre. */ -typedef int (* operand_compare_fc) (const GArchOperand * const *, const GArchOperand * const *); +typedef int (* operand_compare_fc) (const GArchOperand *, const GArchOperand *); /* Traduit un opérande en version humainement lisible. */ typedef void (* operand_print_fc) (const GArchOperand *, GBufferLine *, AsmSyntax); @@ -72,8 +78,11 @@ struct _GArchOperandClass { GObjectClass parent; /* A laisser en premier */ - operand_do_init_fc init; /* Mise en place via interface */ - operand_qck_copy_fc qck_copy; /* Copie minimale via interface*/ + get_operand_manager_fc get_manager; /* Accès au gestionnaire */ + + apply_operand_template_fc apply_template; /* Intialisation d'instance */ + define_operand_template_fc define_template; /* Copie de détails */ + free_operand_template_fc free_template; /* Libération d'un patron */ operand_compare_fc compare; /* Comparaison d'opérandes */ operand_print_fc print; /* Texte humain équivalent */ |