summaryrefslogtreecommitdiff
path: root/src/bindings/luajit/eolian.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/luajit/eolian.lua')
-rw-r--r--src/bindings/luajit/eolian.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bindings/luajit/eolian.lua b/src/bindings/luajit/eolian.lua
index 96be587a62..a517631648 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -252,6 +252,8 @@ ffi.cdef [[
252 const Eolian_Type *eolian_event_type_get(const Eolian_Event *event); 252 const Eolian_Type *eolian_event_type_get(const Eolian_Event *event);
253 const Eolian_Documentation *eolian_event_documentation_get(const Eolian_Event *event); 253 const Eolian_Documentation *eolian_event_documentation_get(const Eolian_Event *event);
254 Eolian_Object_Scope eolian_event_scope_get(const Eolian_Event *event); 254 Eolian_Object_Scope eolian_event_scope_get(const Eolian_Event *event);
255 Eina_Bool eolian_event_is_beta(const Eolian_Event *event);
256 Eina_Bool eolian_event_is_hot(const Eolian_Event *event);
255 const char *eolian_event_c_name_get(const Eolian_Event *event); 257 const char *eolian_event_c_name_get(const Eolian_Event *event);
256 Eina_Bool eolian_class_ctor_enable_get(const Eolian_Class *klass); 258 Eina_Bool eolian_class_ctor_enable_get(const Eolian_Class *klass);
257 Eina_Bool eolian_class_dtor_enable_get(const Eolian_Class *klass); 259 Eina_Bool eolian_class_dtor_enable_get(const Eolian_Class *klass);
@@ -858,6 +860,14 @@ ffi.metatype("Eolian_Event", {
858 local v = eolian.eolian_event_c_name_get(self) 860 local v = eolian.eolian_event_c_name_get(self)
859 if v == nil then return nil end 861 if v == nil then return nil end
860 return ffi_stringshare(v) 862 return ffi_stringshare(v)
863 end,
864
865 is_beta = function(self)
866 return eolian_event_is_beta(self) ~= 0
867 end,
868
869 is_hot = function(self)
870 return eolian_event_is_hot(self) ~= 0
861 end 871 end
862 } 872 }
863}) 873})