summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2018-05-13 15:59:01 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2018-05-13 17:06:12 +0200
commitb8b94cbfb8cb3b3a6e68673e6f6c6be738afc801 (patch)
tree00fba3ef1d4ac3efdd5227d0ba4f89a37354eeb5
parente50aa5e1c9f205bf511693e2458bc66334a33877 (diff)
downloadefl-b8b94cbfb8cb3b3a6e68673e6f6c6be738afc801.tar.gz
elua: add check API to eolian bindings
-rw-r--r--src/bindings/luajit/eolian.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bindings/luajit/eolian.lua b/src/bindings/luajit/eolian.lua
index 2485818d04..78fcfd6b6d 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -301,6 +301,7 @@ ffi.cdef [[
const Eolian_Unit *eolian_state_file_parse(Eolian_State *state, const char *filepath);
Eina_Bool eolian_state_all_eo_files_parse(Eolian_State *state);
Eina_Bool eolian_state_all_eot_files_parse(Eolian_State *state);
+ Eina_Bool eolian_state_check(const Eolian_State *state);
const Eolian_Unit *eolian_state_unit_by_file_get(const Eolian_State *state, const char *file_name);
Eina_Iterator *eolian_state_units_get(const Eolian_State *state);
@@ -685,6 +686,10 @@ ffi.metatype("Eolian_State", {
return eolian.eolian_state_all_eot_files_parse(self) ~= 0
end,
+ check = function(self)
+ return eolian.eolian_state_check(self) ~= 0
+ end,
+
eo_file_paths_get = function(self)
return iterator.String_Iterator(eolian.eolian_state_eo_file_paths_get(self))
end,