diff options
Diffstat (limited to 'src/arch/operand-int.h')
| -rw-r--r-- | src/arch/operand-int.h | 15 | 
1 files changed, 11 insertions, 4 deletions
diff --git a/src/arch/operand-int.h b/src/arch/operand-int.h index 6aa15e8..eb1a1d7 100644 --- a/src/arch/operand-int.h +++ b/src/arch/operand-int.h @@ -37,16 +37,23 @@ typedef int (* operand_compare_fc) (const GArchOperand * const *, const GArchOpe  typedef void (* operand_print_fc) (const GArchOperand *, GBufferLine *, AsmSyntax); +/* Adjonction de rendu alternatif */ +typedef struct _alt_rendering +{ +    RenderingTagType tag;                   /* Type de rendu               */ +    char text[0];                           /* Texte alternatif            */ + +} alt_rendering; + +  /* Définition générique d'un opérande d'architecture (instance) */  struct _GArchOperand  {      GObject parent;                         /* A laisser en premier        */ -    unsigned int shared_count;              /* Compteur de partages        */ +    alt_rendering *alt_info;                /* Autre rendu éventuel        */ -    char *alt_text;                         /* Eventuel texte alternatif   */ -    size_t alt_len;                         /* Taille de ce texte          */ -    RenderingTagType alt_tag;               /* Type de rendu               */ +    unsigned int shared_count;              /* Compteur de partages        */  };  | 
