summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-05-16 15:57:39 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-05-16 15:57:39 +0200
commite5c9f5e76fb82a022b13bf9627cc9c00e006e685 (patch)
tree803da015e077d565a980b044153b4ea1f6a5c188 /src/bindings
parentb3a870c7bb29461c6478fae9f51c211229b62d9d (diff)
eolian: rename eolian_event_c_name_get
This is for consistency with the new eolian_class_c_macro_get as well as for better clarity, as c_name_get is already provided by Object and refers to something else.
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/luajit/eolian.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bindings/luajit/eolian.lua b/src/bindings/luajit/eolian.lua
index 71886511bf..20118af15f 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -401,7 +401,7 @@ ffi.cdef [[
401 Eina_Bool eolian_event_is_hot(const Eolian_Event *event); 401 Eina_Bool eolian_event_is_hot(const Eolian_Event *event);
402 Eina_Bool eolian_event_is_restart(const Eolian_Event *event); 402 Eina_Bool eolian_event_is_restart(const Eolian_Event *event);
403 Eina_Iterator *eolian_class_parts_get(const Eolian_Class *klass); 403 Eina_Iterator *eolian_class_parts_get(const Eolian_Class *klass);
404 const char *eolian_event_c_name_get(const Eolian_Event *event); 404 const char *eolian_event_c_macro_get(const Eolian_Event *event);
405 const Eolian_Class *eolian_part_class_get(const Eolian_Part *part); 405 const Eolian_Class *eolian_part_class_get(const Eolian_Part *part);
406 const Eolian_Documentation *eolian_part_documentation_get(const Eolian_Part *part); 406 const Eolian_Documentation *eolian_part_documentation_get(const Eolian_Part *part);
407 const Eolian_Event *eolian_class_event_by_name_get(const Eolian_Class *klass, const char *event_name); 407 const Eolian_Event *eolian_class_event_by_name_get(const Eolian_Class *klass, const char *event_name);
@@ -1375,8 +1375,8 @@ ffi.metatype("Eolian_Event", {
1375 return tonumber(eolian.eolian_event_scope_get(self)) 1375 return tonumber(eolian.eolian_event_scope_get(self))
1376 end, 1376 end,
1377 1377
1378 c_name_get = function(self) 1378 c_macro_get = function(self)
1379 local v = eolian.eolian_event_c_name_get(self) 1379 local v = eolian.eolian_event_c_macro_get(self)
1380 if v == nil then return nil end 1380 if v == nil then return nil end
1381 return ffi_stringshare(v) 1381 return ffi_stringshare(v)
1382 end, 1382 end,