summaryrefslogtreecommitdiff
path: root/src/arch/operand-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/operand-int.h')
-rw-r--r--src/arch/operand-int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/operand-int.h b/src/arch/operand-int.h
index eb1a1d7..8335614 100644
--- a/src/arch/operand-int.h
+++ b/src/arch/operand-int.h
@@ -36,6 +36,9 @@ typedef int (* operand_compare_fc) (const GArchOperand * const *, const GArchOpe
/* Traduit un opérande en version humainement lisible. */
typedef void (* operand_print_fc) (const GArchOperand *, GBufferLine *, AsmSyntax);
+/* Construit un petit résumé concis de l'opérande. */
+typedef char * (* operand_build_tooltip_fc) (const GArchOperand *, const GLoadedBinary *);
+
/* Adjonction de rendu alternatif */
typedef struct _alt_rendering
@@ -67,6 +70,7 @@ struct _GArchOperandClass
operand_compare_fc compare; /* Comparaison d'opérandes */
operand_print_fc print; /* Texte humain équivalent */
+ operand_build_tooltip_fc build_tooltip; /* Construction de description */
};