lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

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 <> wrote:
Create a new table for every instance.

     local self = {}
     setmetatable(self, {__index = Object})
     return self