summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-05-26 14:52:44 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-05-30 17:15:54 +0200
commit81a1d9659a12d3bee981309a3b7eb3a695169f04 (patch)
tree75289572a4bb8614c69079ba5a7c73e47bc5caea /src/bindings
parentc234b5ee69186ec8dc02e3742d055ff24f0afba6 (diff)
eolian: type_class_get takes unit
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 b59dc37..19c91bd 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -333,7 +333,7 @@ ffi.cdef [[
333 const Eolian_Type *eolian_type_aliased_base_get(const Eolian_Type *tp); 333 const Eolian_Type *eolian_type_aliased_base_get(const Eolian_Type *tp);
334 const Eolian_Type *eolian_typedecl_aliased_base_get(const Eolian_Typedecl *tp); 334 const Eolian_Type *eolian_typedecl_aliased_base_get(const Eolian_Typedecl *tp);
335 335
336 const Eolian_Class *eolian_type_class_get(const Eolian_Type *tp); 336 const Eolian_Class *eolian_type_class_get(const Eolian_Unit *unit, const Eolian_Type *tp);
337 size_t eolian_type_array_size_get(const Eolian_Type *tp); 337 size_t eolian_type_array_size_get(const Eolian_Type *tp);
338 Eina_Bool eolian_type_is_own(const Eolian_Type *tp); 338 Eina_Bool eolian_type_is_own(const Eolian_Type *tp);
339 Eina_Bool eolian_type_is_const(const Eolian_Type *tp); 339 Eina_Bool eolian_type_is_const(const Eolian_Type *tp);
@@ -691,8 +691,8 @@ M.Type = ffi.metatype("Eolian_Type", {
691 return v 691 return v
692 end, 692 end,
693 693
694 class_get = function(self) 694 class_get = function(self, unit)
695 local v = eolian.eolian_type_class_get(self) 695 local v = eolian.eolian_type_class_get(unit, self)
696 if v == nil then return nil end 696 if v == nil then return nil end
697 return v 697 return v
698 end, 698 end,