diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-03-24 18:47:25 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-03-24 18:47:33 (GMT) |
commit | a2f149e5d151dcd937351f6e54229e508123c3ad (patch) | |
tree | 49aa468e2e552735ea61ed7e78d29d821e03aafd /src/arch/operand-int.h | |
parent | 1de9967e2a13baca3df50b02903900e36cee64ae (diff) |
Built tooltips from all kinds of operands.
Diffstat (limited to 'src/arch/operand-int.h')
-rw-r--r-- | src/arch/operand-int.h | 4 |
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 */ }; |