summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-05-25 14:56:44 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-05-30 17:15:54 +0200
commit52a0255e38fa483440e9a31e020adff6590ad1f8 (patch)
tree1e0944aa73f2c8f916215030dfeb261b31b3e34c /src/bindings
parent6d0ee5d2df1b0a479465c82c41a87a9bfc2007e6 (diff)
eolian: pass unit to alias get by name
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 ea4b8ab..d63210b 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -297,7 +297,7 @@ ffi.cdef [[
297 Eina_Bool eolian_class_ctor_enable_get(const Eolian_Class *klass); 297 Eina_Bool eolian_class_ctor_enable_get(const Eolian_Class *klass);
298 Eina_Bool eolian_class_dtor_enable_get(const Eolian_Class *klass); 298 Eina_Bool eolian_class_dtor_enable_get(const Eolian_Class *klass);
299 const char *eolian_class_c_get_function_name_get(const Eolian_Class *klass); 299 const char *eolian_class_c_get_function_name_get(const Eolian_Class *klass);
300 const Eolian_Typedecl *eolian_typedecl_alias_get_by_name(const char *name); 300 const Eolian_Typedecl *eolian_typedecl_alias_get_by_name(const Eolian_Unit *unit, const char *name);
301 const Eolian_Typedecl *eolian_typedecl_struct_get_by_name(const char *name); 301 const Eolian_Typedecl *eolian_typedecl_struct_get_by_name(const char *name);
302 const Eolian_Typedecl *eolian_typedecl_enum_get_by_name(const char *name); 302 const Eolian_Typedecl *eolian_typedecl_enum_get_by_name(const char *name);
303 Eina_Iterator *eolian_typedecl_aliases_get_by_file(const char *fname); 303 Eina_Iterator *eolian_typedecl_aliases_get_by_file(const char *fname);
@@ -1142,8 +1142,8 @@ M.Class = ffi.metatype("Eolian_Class", {
1142 } 1142 }
1143}) 1143})
1144 1144
1145M.typedecl_alias_get_by_name = function(name) 1145M.typedecl_alias_get_by_name = function(unit, name)
1146 local v = eolian.eolian_typedecl_alias_get_by_name(name) 1146 local v = eolian.eolian_typedecl_alias_get_by_name(unit, name)
1147 if v == nil then return nil end 1147 if v == nil then return nil end
1148 return v 1148 return v
1149end 1149end