summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bindings/luajit/eolian.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bindings/luajit/eolian.lua b/src/bindings/luajit/eolian.lua
index 3a8686d960..e71eaadf83 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -280,6 +280,7 @@ ffi.cdef [[
280 const char *eolian_type_file_get(const Eolian_Type *tp); 280 const char *eolian_type_file_get(const Eolian_Type *tp);
281 const Eolian_Type *eolian_type_return_type_get(const Eolian_Type *tp); 281 const Eolian_Type *eolian_type_return_type_get(const Eolian_Type *tp);
282 const Eolian_Type *eolian_type_base_type_get(const Eolian_Type *tp); 282 const Eolian_Type *eolian_type_base_type_get(const Eolian_Type *tp);
283 const Eolian_Type *eolian_type_aliased_base_get(const Eolian_Type *tp);
283 const Eolian_Class *eolian_type_class_get(const Eolian_Type *tp); 284 const Eolian_Class *eolian_type_class_get(const Eolian_Type *tp);
284 Eina_Bool eolian_type_is_own(const Eolian_Type *tp); 285 Eina_Bool eolian_type_is_own(const Eolian_Type *tp);
285 Eina_Bool eolian_type_is_const(const Eolian_Type *tp); 286 Eina_Bool eolian_type_is_const(const Eolian_Type *tp);
@@ -538,6 +539,12 @@ M.Type = ffi.metatype("Eolian_Type", {
538 return v 539 return v
539 end, 540 end,
540 541
542 aliased_base_get = function(self)
543 local v = eolian.eolian_type_aliased_byse_get(self)
544 if v == nil then return nil end
545 return v
546 end,
547
541 class_get = function(self) 548 class_get = function(self)
542 local v = eolian.eolian_type_class_get(self) 549 local v = eolian.eolian_type_class_get(self)
543 if v == nil then return nil end 550 if v == nil then return nil end