elua: add eolian bindings for type_is_move
This commit is contained in:
parent
242bad209b
commit
7ef3c112d4
|
@ -448,6 +448,7 @@ ffi.cdef [[
|
|||
const Eolian_Class *eolian_type_class_get(const Eolian_Type *tp);
|
||||
const Eolian_Error *eolian_type_error_get(const Eolian_Type *tp);
|
||||
Eina_Bool eolian_type_is_owned(const Eolian_Type *tp);
|
||||
Eina_Bool eolian_type_is_move(const Eolian_Type *tp);
|
||||
Eina_Bool eolian_type_is_const(const Eolian_Type *tp);
|
||||
Eina_Bool eolian_type_is_ptr(const Eolian_Type *tp);
|
||||
|
||||
|
@ -1168,6 +1169,10 @@ M.Type = ffi.metatype("Eolian_Type", {
|
|||
return eolian.eolian_type_is_owned(self) ~= 0
|
||||
end,
|
||||
|
||||
is_move = function(self)
|
||||
return eolian.eolian_type_is_move(self) ~= 0
|
||||
end,
|
||||
|
||||
is_const = function(self)
|
||||
return eolian.eolian_type_is_const(self) ~= 0
|
||||
end,
|
||||
|
|
Loading…
Reference in New Issue