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
|
if addr then
|
||||||
classes[tonumber(ffi.cast("intptr_t", addr))] = val
|
classes[tonumber(ffi.cast("intptr_t", addr))] = val
|
||||||
end
|
end
|
||||||
|
return val
|
||||||
end
|
end
|
||||||
|
|
||||||
M.__ctor_common = function(self, klass, parent, ctor, loff, ...)
|
M.__ctor_common = function(self, klass, parent, ctor, loff, ...)
|
||||||
|
|
Loading…
Reference in New Issue