diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-07-02 22:39:25 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-07-02 22:40:18 (GMT) |
commit | de2cb8e2fad4a3031d7b7c2cb189a6dbdaf8d5a9 (patch) | |
tree | eb9b01fc893ace47e0311ebca7511162769c36be /src/analysis/routine.h | |
parent | 4630eb7a2b0b61a4e9ea3a99e7a8cdaba05392cd (diff) |
Extented the types definitions.
Diffstat (limited to 'src/analysis/routine.h')
-rw-r--r-- | src/analysis/routine.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/analysis/routine.h b/src/analysis/routine.h index e364c93..e1a3523 100644 --- a/src/analysis/routine.h +++ b/src/analysis/routine.h @@ -62,17 +62,6 @@ typedef struct _GBinRoutine GBinRoutine; typedef struct _GBinRoutineClass GBinRoutineClass; -/* Modalités de représentation en chaîne */ -typedef enum _Routine2StringOptions -{ - RSO_LONG_TYPE = (1 << 0), /* Type avec espace de noms */ - RSO_NAMESPACE = (1 << 1) /* Affichage de l'appartenance */ - -} Routine2StringOptions; - -#define RSO_ALL (RSO_LONG_TYPE | RSO_NAMESPACE) - - /* Indique le type définit pour une représentation de routine. */ GType g_bin_routine_get_type(void); @@ -143,9 +132,7 @@ void g_binary_routine_set_basic_blocks(GBinRoutine *, GBlockList *); //void g_binary_routine_set_decomp_instructions(GBinRoutine *, GDecInstruction *); /* Décrit le prototype de la routine sous forme de caractères. */ -char *_g_binary_routine_to_string(const GBinRoutine *, Routine2StringOptions); - -#define g_binary_routine_to_string(r) _g_binary_routine_to_string((r), RSO_ALL) +char *g_binary_routine_to_string(const GBinRoutine *, bool); /* Procède à l'impression de la description d'une routine. */ //void g_binary_routine_output_info(const GBinRoutine *, GLangOutput *, GCodeBuffer *); |