summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-11-20 17:16:04 +0000
committerDaniel Kolesa <d.kolesa@samsung.com>2014-11-20 17:16:04 +0000
commit3b59913b9abc4e5c9a164970b0c99c5c13e0451f (patch)
tree2411899a2abe39e4069e09c45ec423c575214386
parent6448803ab03986e33e214eaebdddaf7dd965e207 (diff)
elua: update 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 c8fd6a80b8..369252d70e 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -240,6 +240,7 @@ ffi.cdef [[
240 const char *eolian_constructor_full_name_get(const Eolian_Constructor *ctor); 240 const char *eolian_constructor_full_name_get(const Eolian_Constructor *ctor);
241 const Eolian_Class *eolian_constructor_class_get(const Eolian_Constructor *ctor); 241 const Eolian_Class *eolian_constructor_class_get(const Eolian_Constructor *ctor);
242 const Eolian_Function *eolian_constructor_function_get(const Eolian_Constructor *ctor); 242 const Eolian_Function *eolian_constructor_function_get(const Eolian_Constructor *ctor);
243 Eina_Bool eolian_constructor_is_optional(const Eolian_Constructor *ctor);
243 Eina_Iterator *eolian_class_constructors_get(const Eolian_Class *klass); 244 Eina_Iterator *eolian_class_constructors_get(const Eolian_Class *klass);
244 Eina_Iterator *eolian_class_events_get(const Eolian_Class *klass); 245 Eina_Iterator *eolian_class_events_get(const Eolian_Class *klass);
245 const char *eolian_event_name_get(const Eolian_Event *event); 246 const char *eolian_event_name_get(const Eolian_Event *event);
@@ -805,6 +806,10 @@ ffi.metatype("Eolian_Constructor", {
805 local v = eolian.eolian_constructor_function_get(self) 806 local v = eolian.eolian_constructor_function_get(self)
806 if v == nil then return nil end 807 if v == nil then return nil end
807 return v 808 return v
809 end,
810
811 is_optional = function(self)
812 return eolian.eolian_constructor_is_optional(self) ~= 0
808 end 813 end
809 } 814 }
810}) 815})