elua: return the value properly in eo

This commit is contained in:
Daniel Kolesa 2014-06-09 12:05:14 +01:00
parent f395e861fb
commit c6e5d8d002
1 changed files with 1 additions and 0 deletions

View File

@ -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, ...)