Let me add some more information. Classes A and B are bound with the tolua++ binding library, and are dealt with as userdata.
On Mon, Sep 22, 2008 at 2:09 PM, Lucas Hermann Negri
<kkndrox@gmail.com> wrote:
Create a new table for every instance.
function Object.new()
local self = {}
setmetatable(self, {__index = Object})
return self
end
--
http://oproj.tuxfamily.org