summaryrefslogtreecommitdiff
path: root/src/lib/eolian/eolian_database.h
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-18 15:23:07 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-18 16:38:14 +0200
commit28b1dd25c7d092d7bef7321aa7c77c81ac8d7e23 (patch)
tree097a50d5a2e0551bfbb904675ed146aab492c08a /src/lib/eolian/eolian_database.h
parent311fada0d2f54d46d3656ad64fe22bea2f58b93c (diff)
eolian: add internal api for dep deferring + parsing without dep
This is cleaner than adding into a hash manually. Additionally, it is now possible to request that the file be parsed not as a dep, but rather standalone, which will be useful later.
Diffstat (limited to 'src/lib/eolian/eolian_database.h')
-rw-r--r--src/lib/eolian/eolian_database.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eolian/eolian_database.h b/src/lib/eolian/eolian_database.h
index 2cf0981..319ec25 100644
--- a/src/lib/eolian/eolian_database.h
+++ b/src/lib/eolian/eolian_database.h
@@ -377,6 +377,8 @@ struct _Eolian_Variable
377 377
378char *database_class_to_filename(const char *cname); 378char *database_class_to_filename(const char *cname);
379Eina_Bool database_validate(const Eolian_Unit *src); 379Eina_Bool database_validate(const Eolian_Unit *src);
380/* if isdep is EINA_TRUE, parse as a dependency of current unit */
381void database_defer(Eolian_State *state, const char *fname, Eina_Bool isdep);
380 382
381void database_object_add(Eolian_Unit *unit, const Eolian_Object *obj); 383void database_object_add(Eolian_Unit *unit, const Eolian_Object *obj);
382 384