elua: event method fixes in eolian bindings

This commit is contained in:
Daniel Kolesa 2016-07-12 11:09:05 +01:00
parent 9f2ba9834e
commit 41abda37f6
1 changed files with 4 additions and 3 deletions

View File

@ -261,6 +261,7 @@ ffi.cdef [[
Eolian_Object_Scope eolian_event_scope_get(const Eolian_Event *event); Eolian_Object_Scope eolian_event_scope_get(const Eolian_Event *event);
Eina_Bool eolian_event_is_beta(const Eolian_Event *event); Eina_Bool eolian_event_is_beta(const Eolian_Event *event);
Eina_Bool eolian_event_is_hot(const Eolian_Event *event); Eina_Bool eolian_event_is_hot(const Eolian_Event *event);
Eina_Bool eolian_event_is_restart(const Eolian_Event *event);
const char *eolian_event_c_name_get(const Eolian_Event *event); const char *eolian_event_c_name_get(const Eolian_Event *event);
Eina_Bool eolian_class_ctor_enable_get(const Eolian_Class *klass); Eina_Bool eolian_class_ctor_enable_get(const Eolian_Class *klass);
Eina_Bool eolian_class_dtor_enable_get(const Eolian_Class *klass); Eina_Bool eolian_class_dtor_enable_get(const Eolian_Class *klass);
@ -962,15 +963,15 @@ ffi.metatype("Eolian_Event", {
end, end,
is_beta = function(self) is_beta = function(self)
return eolian_event_is_beta(self) ~= 0 return eolian.eolian_event_is_beta(self) ~= 0
end, end,
is_hot = function(self) is_hot = function(self)
return eolian_event_is_hot(self) ~= 0 return eolian.eolian_event_is_hot(self) ~= 0
end, end,
is_restart = function(self) is_restart = function(self)
return eolian_event_is_restart(self) ~= 0 return eolian.eolian_event_is_restart(self) ~= 0
end end
} }
}) })