elua: lualian now has access to types
This commit is contained in:
parent
61b7fd28b8
commit
c593e67306
|
@ -278,6 +278,12 @@ M.Function = ffi.metatype("Eolian_Function", {
|
|||
return ffi.string(v)
|
||||
end,
|
||||
|
||||
return_types_list_get = function(self, ftype)
|
||||
local v = eolian.eolian_function_return_types_list_get(self, ftype)
|
||||
if v == nil then return nil end
|
||||
return v
|
||||
end,
|
||||
|
||||
return_dflt_value_get = function(self, ftype)
|
||||
local v = eolian.eolian_function_return_dflt_value_get(self, ftype)
|
||||
if v == nil then return nil end
|
||||
|
@ -327,6 +333,12 @@ ffi.metatype("Eolian_Function_Parameter", {
|
|||
return ffi.string(v)
|
||||
end,
|
||||
|
||||
types_list_get = function(self)
|
||||
local v = eolian.eolian_parameter_types_list_get(self)
|
||||
if v == nil then return nil end
|
||||
return v
|
||||
end,
|
||||
|
||||
name_get = function(self)
|
||||
local v = eolian.eolian_parameter_name_get(self)
|
||||
if v == nil then return nil end
|
||||
|
|
Loading…
Reference in New Issue