forked from enlightenment/efl
elua: add eolian_type_aliased_base_get to lua bindings
This commit is contained in:
parent
a9b4be11e1
commit
beacff7959
|
@ -280,6 +280,7 @@ ffi.cdef [[
|
|||
const char *eolian_type_file_get(const Eolian_Type *tp);
|
||||
const Eolian_Type *eolian_type_return_type_get(const Eolian_Type *tp);
|
||||
const Eolian_Type *eolian_type_base_type_get(const Eolian_Type *tp);
|
||||
const Eolian_Type *eolian_type_aliased_base_get(const Eolian_Type *tp);
|
||||
const Eolian_Class *eolian_type_class_get(const Eolian_Type *tp);
|
||||
Eina_Bool eolian_type_is_own(const Eolian_Type *tp);
|
||||
Eina_Bool eolian_type_is_const(const Eolian_Type *tp);
|
||||
|
@ -538,6 +539,12 @@ M.Type = ffi.metatype("Eolian_Type", {
|
|||
return v
|
||||
end,
|
||||
|
||||
aliased_base_get = function(self)
|
||||
local v = eolian.eolian_type_aliased_byse_get(self)
|
||||
if v == nil then return nil end
|
||||
return v
|
||||
end,
|
||||
|
||||
class_get = function(self)
|
||||
local v = eolian.eolian_type_class_get(self)
|
||||
if v == nil then return nil end
|
||||
|
|
Loading…
Reference in New Issue