const Eolian_Class *eolian_type_class_get(const Eolian_Unit *unit, const Eolian_Type *tp);
size_t eolian_type_array_size_get(const Eolian_Type *tp);
- Eina_Bool eolian_type_is_own(const Eolian_Type *tp);
+ Eina_Bool eolian_type_is_owned(const Eolian_Type *tp);
Eina_Bool eolian_type_is_const(const Eolian_Type *tp);
Eina_Bool eolian_type_is_ptr(const Eolian_Type *tp);
return tonumber(eolian.eolian_type_array_size_get(self))
end,
- is_own = function(self)
- return eolian.eolian_type_is_own(self) ~= 0
+ is_owned = function(self)
+ return eolian.eolian_type_is_owned(self) ~= 0
end,
is_const = function(self)
if tp:is_const() then
str = "const(" .. str .. ")"
end
- if tp:is_own() then
- str = "own(" .. str .. ")"
- end
+ -- TODO: implement new ownership system into docs
+ --if tp:is_own() then
+ -- str = "own(" .. str .. ")"
+ --end
local ffunc = tp:free_func_get()
if ffunc then
str = "free(" .. str .. ", " .. ffunc .. ")"
return self.type_array_size_get()
end,
- is_own = function(self)
- return self.type:is_own()
+ is_owned = function(self)
+ return self.type:is_owned()
end,
is_const = function(self)