[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Down-casting a C object to a Lua object
- From: Peter Cawley <lua@...>
- Date: Sat, 14 Nov 2009 22:31:22 +0000
On Sat, Nov 14, 2009 at 10:13 PM, Colm Sloan <email@example.com> wrote:
> Sorry. I haven't used Lua for this kind of thing before so I'm not sure
> which details would be of use.
While the details you have given are useful, I'll re-iterate my point.
Lua by default does not have any notion of classes, hence you must be
using some variant or Lua, or addition to Lua, which adds a class
system to Lua. At a guess, it looks like you are using luabind, but
there are many other ways in which you can add a class system to Lua,
and we need to know which one you are using (I assume you haven't
written your own class system).