diff options
Diffstat (limited to 'src/decomp/expr/cond.h')
-rw-r--r-- | src/decomp/expr/cond.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/decomp/expr/cond.h b/src/decomp/expr/cond.h index b6fd073..a4d1ee7 100644 --- a/src/decomp/expr/cond.h +++ b/src/decomp/expr/cond.h @@ -2,7 +2,7 @@ /* OpenIDA - Outil d'analyse de fichiers binaires * cond.h - prototypes pour la représentation des conditions * - * Copyright (C) 2010 Cyrille Bagard + * Copyright (C) 2010-2013 Cyrille Bagard * * This file is part of OpenIDA. * @@ -29,7 +29,7 @@ #include "../expression.h" -#include "../instruction.h" +#include "../output.h" @@ -53,7 +53,19 @@ typedef struct _GCondExpressionClass GCondExpressionClass; GType g_cond_expression_get_type(void); /* Exprime une condition binaire quelconque. */ -GDecInstruction *g_cond_expression_new(GDecExpression *, CompSignType, GDecExpression *); +GDecExpression *g_cond_expression_new(GDecExpression *); + +/* Fournit l'opération logique entre les comparaisons. */ +CondOperatorType g_cond_expression_get_operator(const GCondExpression *); + +/* Fournit l'expression d'une condition. */ +GDecExpression *g_cond_expression_get_expression(const GCondExpression *); + +/* Définit l'expression d'une condition. */ +void g_cond_expression_set_expression(GCondExpression *, GDecExpression *); + +/* Etend l'expression d'une condition. */ +void g_cond_expression_add_condition(GCondExpression *, GCondExpression *, CondOperatorType); |