elua: add missing eolian bindings method needed for object casting

This enables updated docgen to work.
This commit is contained in:
Daniel Kolesa 2018-10-10 08:58:09 +02:00
parent 53b8174fbf
commit e7b6e55f42
1 changed files with 4 additions and 0 deletions

View File

@ -524,6 +524,10 @@ local gen_wrap = function(t)
end
local object_idx, wrap_object = gen_wrap {
object_get = function(self)
return cast_obj(self)
end,
type_get = function(self)
return tonumber(eolian.eolian_object_type_get(cast_obj(self)))
end,