summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-05-25 15:11:08 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-05-30 17:15:54 +0200
commit9c2dae3531d4dc282a735d5f0705a4eb8af6f4bd (patch)
tree48ac7726119b49f6c04f8315b16837d57fca4c30 /src/bindings
parent52a0255e38fa483440e9a31e020adff6590ad1f8 (diff)
eolian: pass unit to struct 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 d63210b..c1a0fe6 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -298,7 +298,7 @@ ffi.cdef [[
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 Eolian_Unit *unit, 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 Eolian_Unit *unit, 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);
304 Eina_Iterator *eolian_typedecl_structs_get_by_file(const char *fname); 304 Eina_Iterator *eolian_typedecl_structs_get_by_file(const char *fname);
@@ -1148,8 +1148,8 @@ M.typedecl_alias_get_by_name = function(unit, name)
1148 return v 1148 return v
1149end 1149end
1150 1150
1151M.typedecl_struct_get_by_name = function(name) 1151M.typedecl_struct_get_by_name = function(unit, name)
1152 local v = eolian.eolian_typedecl_struct_get_by_name(name) 1152 local v = eolian.eolian_typedecl_struct_get_by_name(unit, name)
1153 if v == nil then return nil end 1153 if v == nil then return nil end
1154 return v 1154 return v
1155end 1155end