summaryrefslogtreecommitdiff
path: root/src/lib/eolian/eolian_database.h
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-20 15:58:06 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-20 16:10:55 +0200
commitdd90488b69b38462e8155ae170f25fa6fbf2db78 (patch)
treeed61236a483f762521ebd25844c7142bc76b2e7f /src/lib/eolian/eolian_database.h
parent591567a6ac17d5f849cc2463128796efa6e4aebe (diff)
eolian: add capturing of variables/typedecls in expr eval
This will be used from validation to properly count actual dependencies of a unit.
Diffstat (limited to 'src/lib/eolian/eolian_database.h')
-rw-r--r--src/lib/eolian/eolian_database.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/eolian/eolian_database.h b/src/lib/eolian/eolian_database.h
index c423225..a0ad426 100644
--- a/src/lib/eolian/eolian_database.h
+++ b/src/lib/eolian/eolian_database.h
@@ -410,8 +410,10 @@ Eina_Bool database_type_is_ownable(const Eolian_Unit *unit, const Eolian_Type *t
410 410
411/* expressions */ 411/* expressions */
412 412
413Eolian_Value database_expr_eval(const Eolian_Unit *unit, Eolian_Expression *expr, Eolian_Expression_Mask mask); 413typedef void (*Expr_Obj_Cb)(const Eolian_Object *obj, void *data);
414Eolian_Value database_expr_eval_type(const Eolian_Unit *unit, Eolian_Expression *expr, const Eolian_Type *type); 414
415Eolian_Value database_expr_eval(const Eolian_Unit *unit, Eolian_Expression *expr, Eolian_Expression_Mask mask, Expr_Obj_Cb cb, void *data);
416Eolian_Value database_expr_eval_type(const Eolian_Unit *unit, Eolian_Expression *expr, const Eolian_Type *type, Expr_Obj_Cb cb, void *data);
415void database_expr_del(Eolian_Expression *expr); 417void database_expr_del(Eolian_Expression *expr);
416void database_expr_print(Eolian_Expression *expr); 418void database_expr_print(Eolian_Expression *expr);
417 419