summaryrefslogtreecommitdiff
path: root/src/decomp/output.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2010-12-12 00:16:28 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2010-12-12 00:16:28 (GMT)
commitd9fdfcf887a7a596a68db2500bb5e4d0b692abb6 (patch)
tree55d8a973b421ed832007a3757c0a61621a0bef44 /src/decomp/output.c
parent544dfe87adfe15c8588ccffea712672e1b7c4179 (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.c')
-rw-r--r--src/decomp/output.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/decomp/output.c b/src/decomp/output.c
index 066096e..16cab19 100644
--- a/src/decomp/output.c
+++ b/src/decomp/output.c
@@ -101,6 +101,28 @@ GBufferLine *g_lang_output_write_comments(GLangOutput *output, GCodeBuffer *buff
/******************************************************************************
* *
* Paramètres : output = encadrant de l'impression en langage de prog. *
+* line = tampon de sortie à disposition. *
+* sign = méthode de comparaison à imprimer. *
+* *
+* Description : Imprime dans un tampon donné une méthode de comparaison. *
+* *
+* Retour : - *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+void g_lang_output_write_comp_sign(GLangOutput *output, GBufferLine *line, CompSignType sign)
+{
+ if (output->comp_sign != NULL)
+ output->comp_sign(output, line, sign);
+
+}
+
+
+/******************************************************************************
+* *
+* Paramètres : output = encadrant de l'impression en langage de prog. *
* buffer = tampon de sortie à disposition. *
* type = désignation de la classe à définir. *
* *