elua: return the value properly in eo
This commit is contained in:
parent
f395e861fb
commit
c6e5d8d002
|
@ -73,6 +73,7 @@ M.class_register = function(name, val, addr)
|
|||
if addr then
|
||||
classes[tonumber(ffi.cast("intptr_t", addr))] = val
|
||||
end
|
||||
return val
|
||||
end
|
||||
|
||||
M.__ctor_common = function(self, klass, parent, ctor, loff, ...)
|
||||
|
|
Loading…
Reference in New Issue