diff options
Diffstat (limited to 'src/arch/instruction-int.h')
-rw-r--r-- | src/arch/instruction-int.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/arch/instruction-int.h b/src/arch/instruction-int.h index 6c9da03..e4d886b 100644 --- a/src/arch/instruction-int.h +++ b/src/arch/instruction-int.h @@ -41,8 +41,8 @@ typedef const char * (* get_instruction_encoding_fc) (const GArchInstruction *); /* Ajoute à un tampon GLib le contenu de l'instance spécifiée. */ typedef GBufferLine * (* print_instruction_fc) (const GArchInstruction *, GCodeBuffer *, MemoryDataSize, const GBinContent *, AsmSyntax); -/* Reconstruit le cache complet d'une désignation d'instruction. */ -typedef void (* build_instruction_keyword_fc) (const GArchInstruction *, AsmSyntax); +/* Fournit le nom humain de l'instruction manipulée. */ +typedef const char * (* get_instruction_keyword_fc) (GArchInstruction *, AsmSyntax ); /* Informe sur une éventuelle référence à une autre instruction. */ typedef InstructionLinkType (* get_instruction_link_fc) (const GArchInstruction *, vmpa_t *); @@ -55,11 +55,6 @@ struct _GArchInstruction DL_LIST_ITEM(flow); /* Maillon de liste chaînée */ - const char *encoding; /* Encodage de l'instruction */ - - char *suffix; /* Complément au nom affiché */ - char *cached_keyword; /* Désignation complète */ - phys_t max_displayed_len; /* Quantité de code affichée */ ArchInstrFlag flags; /* Informations complémentaires*/ @@ -94,9 +89,9 @@ struct _GArchInstructionClass GObjectClass parent; /* A laisser en premier */ get_instruction_encoding_fc get_encoding; /* Obtention de l'encodage */ + get_instruction_keyword_fc get_keyword; /* Texte humain équivalent */ print_instruction_fc print; /* Imprime l'ensemble */ - build_instruction_keyword_fc build_key; /* Texte humain équivalent */ }; |