forked from enlightenment/efl
elua: add check API to eolian bindings
This commit is contained in:
parent
e50aa5e1c9
commit
b8b94cbfb8
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue