diff options
Diffstat (limited to 'src/arch/x86/operands/relative.c')
-rw-r--r-- | src/arch/x86/operands/relative.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/arch/x86/operands/relative.c b/src/arch/x86/operands/relative.c index 3235a0d..cd69748 100644 --- a/src/arch/x86/operands/relative.c +++ b/src/arch/x86/operands/relative.c @@ -51,12 +51,6 @@ static void g_x86_relative_operand_class_init(GX86RelativeOperandClass *); /* Initialise une instance d'opérande x86 d'adresse relative. */ static void g_x86_relative_operand_init(GX86RelativeOperand *); -/* Ajoute du texte simple à un fichier ouvert en écriture. */ -static void g_x86_relative_operand_add_text(const GX86RelativeOperand *, GRenderingOptions *, MainRendering, FILE *); - -/* Ajoute à un tampon GLib le contenu de l'instance spécifiée. */ -static void g_x86_relative_operand_to_buffer(const GX86RelativeOperand *, GBufferLine *, GRenderingOptions *); - /* Indique le type défini par la GLib pour un opérande x86 d'adresse relative. */ @@ -95,12 +89,6 @@ static void g_x86_relative_operand_class_init(GX86RelativeOperandClass *klass) static void g_x86_relative_operand_init(GX86RelativeOperand *operand) { - GContentExporter *parent; /* Instance parente */ - - parent = G_CONTENT_EXPORTER(operand); - - parent->add_text = (add_text_fc)g_x86_relative_operand_add_text; - parent->export_buffer = (export_buffer_fc)g_x86_relative_operand_to_buffer; } @@ -159,6 +147,7 @@ GArchOperand *g_x86_relative_operand_new(const bin_t *data, off_t *pos, off_t le } +#if 0 /****************************************************************************** * * * Paramètres : operand = opérande à transcrire. * @@ -200,6 +189,7 @@ static void g_x86_relative_operand_to_buffer(const GX86RelativeOperand *operand, g_content_exporter_to_buffer(G_CONTENT_EXPORTER(operand->immediate), buffer, options); } +#endif /****************************************************************************** |