diff options
Diffstat (limited to 'src/decomp/output.h')
-rw-r--r-- | src/decomp/output.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/decomp/output.h b/src/decomp/output.h index a4f72b2..73e1e76 100644 --- a/src/decomp/output.h +++ b/src/decomp/output.h @@ -51,6 +51,25 @@ GType g_lang_output_get_type(void); /* Ajoute un commentaire à un tampon donné. */ GBufferLine *g_lang_output_write_comments(GLangOutput *, GCodeBuffer *, const char *, size_t); + +/* Liste des signes binaires de comparaison */ +typedef enum _CompSignType +{ + CST_EQ, /* == */ + CST_NE, /* != */ + CST_LT, /* < */ + CST_GE, /* >= */ + CST_GT, /* > */ + CST_LE, /* <= */ + + CST_COUNT + +} CompSignType; + +/* Imprime dans un tampon donné une méthode de comparaison. */ +void g_lang_output_write_comp_sign(GLangOutput *, GBufferLine *, CompSignType); + + /* Débute la définition d'une classe. */ GBufferLine *g_lang_output_start_class(GLangOutput *, GCodeBuffer *, const GOpenidaType *); |