diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2010-12-12 00:16:28 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2010-12-12 00:16:28 (GMT) |
commit | d9fdfcf887a7a596a68db2500bb5e4d0b692abb6 (patch) | |
tree | 55d8a973b421ed832007a3757c0a61621a0bef44 /src/decomp/output.h | |
parent | 544dfe87adfe15c8588ccffea712672e1b7c4179 (diff) |
Created an instruction for the 'If Then Else' blocks.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@201 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
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 *); |