summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-05-25 15:20:12 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-05-30 17:15:54 +0200
commit0bf6fd629757ce57b328c9160696e65323e8cbfb (patch)
tree97f68b3edf1786085325fb83b3eb73a2816549e4 /src/bindings
parent308a3d91a39d7d50eb09d77d4b92ef97adefc0ad (diff)
eolian: update lua bindings with new unit apis
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/luajit/eolian.lua36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/bindings/luajit/eolian.lua b/src/bindings/luajit/eolian.lua
index f20deec..25fd292 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -300,12 +300,12 @@ ffi.cdef [[
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 Eolian_Unit *unit, 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 Eolian_Unit *unit, const char *name); 302 const Eolian_Typedecl *eolian_typedecl_enum_get_by_name(const Eolian_Unit *unit, 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 Eolian_Unit *unit, 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 Eolian_Unit *unit, const char *fname);
305 Eina_Iterator *eolian_typedecl_enums_get_by_file(const char *fname); 305 Eina_Iterator *eolian_typedecl_enums_get_by_file(const Eolian_Unit *unit, const char *fname);
306 Eina_Iterator *eolian_typedecl_all_aliases_get(void); 306 Eina_Iterator *eolian_typedecl_all_aliases_get(const Eolian_Unit *unit);
307 Eina_Iterator *eolian_typedecl_all_structs_get(void); 307 Eina_Iterator *eolian_typedecl_all_structs_get(const Eolian_Unit *unit);
308 Eina_Iterator *eolian_typedecl_all_enums_get(void); 308 Eina_Iterator *eolian_typedecl_all_enums_get(const Eolian_Unit *unit);
309 Eolian_Type_Type eolian_type_type_get(const Eolian_Type *tp); 309 Eolian_Type_Type eolian_type_type_get(const Eolian_Type *tp);
310 Eolian_Typedecl_Type eolian_typedecl_type_get(const Eolian_Typedecl *tp); 310 Eolian_Typedecl_Type eolian_typedecl_type_get(const Eolian_Typedecl *tp);
311 Eina_Iterator *eolian_typedecl_struct_fields_get(const Eolian_Typedecl *tp); 311 Eina_Iterator *eolian_typedecl_struct_fields_get(const Eolian_Typedecl *tp);
@@ -1160,34 +1160,34 @@ M.typedecl_enum_get_by_name = function(unit, name)
1160 return v 1160 return v
1161end 1161end
1162 1162
1163M.typedecl_aliases_get_by_file = function(fname) 1163M.typedecl_aliases_get_by_file = function(unit, fname)
1164 return Ptr_Iterator("const Eolian_Typedecl *", 1164 return Ptr_Iterator("const Eolian_Typedecl *",
1165 eolian.eolian_type_aliases_get_by_file(self)) 1165 eolian.eolian_type_aliases_get_by_file(unit, self))
1166end 1166end
1167 1167
1168M.typedecl_structs_get_by_file = function(fname) 1168M.typedecl_structs_get_by_file = function(unit, fname)
1169 return Ptr_Iterator("const Eolian_Typedecl *", 1169 return Ptr_Iterator("const Eolian_Typedecl *",
1170 eolian.eolian_type_structs_get_by_file(self)) 1170 eolian.eolian_type_structs_get_by_file(unit, self))
1171end 1171end
1172 1172
1173M.typedecl_enums_get_by_file = function(fname) 1173M.typedecl_enums_get_by_file = function(unit, fname)
1174 return Ptr_Iterator("const Eolian_Typedecl *", 1174 return Ptr_Iterator("const Eolian_Typedecl *",
1175 eolian.eolian_type_enums_get_by_file(self)) 1175 eolian.eolian_type_enums_get_by_file(unit, self))
1176end 1176end
1177 1177
1178M.typedecl_all_aliases_get = function() 1178M.typedecl_all_aliases_get = function(unit)
1179 return Ptr_Iterator("const Eolian_Typedecl *", 1179 return Ptr_Iterator("const Eolian_Typedecl *",
1180 eolian.eolian_typedecl_all_aliases_get()) 1180 eolian.eolian_typedecl_all_aliases_get(unit))
1181end 1181end
1182 1182
1183M.typedecl_all_structs_get = function() 1183M.typedecl_all_structs_get = function(unit)
1184 return Ptr_Iterator("const Eolian_Typedecl *", 1184 return Ptr_Iterator("const Eolian_Typedecl *",
1185 eolian.eolian_typedecl_all_structs_get()) 1185 eolian.eolian_typedecl_all_structs_get(unit))
1186end 1186end
1187 1187
1188M.typedecl_all_enums_get = function() 1188M.typedecl_all_enums_get = function(unit)
1189 return Ptr_Iterator("const Eolian_Typedecl *", 1189 return Ptr_Iterator("const Eolian_Typedecl *",
1190 eolian.eolian_typedecl_all_enums_get()) 1190 eolian.eolian_typedecl_all_enums_get(unit))
1191end 1191end
1192 1192
1193M.expression_type = { 1193M.expression_type = {