diff options
Diffstat (limited to 'src/arch/undefined.c')
-rw-r--r-- | src/arch/undefined.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/arch/undefined.c b/src/arch/undefined.c index 5542ac2..680e4f4 100644 --- a/src/arch/undefined.c +++ b/src/arch/undefined.c @@ -67,7 +67,7 @@ static void g_undef_instruction_finalize(GUndefInstruction *); static const char *g_undef_instruction_get_encoding(const GUndefInstruction *); /* Fournit le nom humain de l'instruction manipulée. */ -static const char *g_undef_instruction_get_keyword(const GUndefInstruction *, AsmSyntax); +static const char *g_undef_instruction_get_keyword(const GUndefInstruction *); @@ -240,8 +240,7 @@ static const char *g_undef_instruction_get_encoding(const GUndefInstruction *ins /****************************************************************************** * * -* Paramètres : instr = instruction d'assemblage à consulter. * -* syntax = type de représentation demandée. * +* Paramètres : instr = instruction d'assemblage à consulter. * * * * Description : Fournit le nom humain de l'instruction manipulée. * * * @@ -251,7 +250,7 @@ static const char *g_undef_instruction_get_encoding(const GUndefInstruction *ins * * ******************************************************************************/ -const char *g_undef_instruction_get_keyword(const GUndefInstruction *instr, AsmSyntax syntax) +const char *g_undef_instruction_get_keyword(const GUndefInstruction *instr) { const char *result; /* Désignation à retourner */ @@ -359,10 +358,9 @@ static bool g_undef_instruction_serialize(GUndefInstruction *instr, GAsmStorage /****************************************************************************** * * * Paramètres : instr = instruction d'assemblage à représenter. * -* buffer = espace où placer ledit contenu. * -* msize = taille idéale des positions et adresses; * -* content = contenu binaire global à venir lire. * -* syntax = type de représentation demandée. * +* line = ligne de rendu à compléter. * +* index = indice de cette même ligne dans le tampon global. * +* repeat = indice d'utilisations successives du générateur. * * content = éventuel contenu binaire brut à imprimer. * * * * Description : Ajoute à un tampon GLib le contenu de l'instance spécifiée. * @@ -387,7 +385,7 @@ static void g_undef_instruction_print(GUndefInstruction *instr, GBufferLine *lin /* Instruction proprement dite */ - key = g_arch_instruction_get_keyword(base, 0/*, syntax*/); + key = g_arch_instruction_get_keyword(base); klen = strlen(key); g_buffer_line_append_text(line, BLC_ASSEMBLY_HEAD, key, klen, RTT_ERROR, NULL); |