lua-users home
lua-l archive

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


On Tue, 6 Jul 2004, Jamie Webb wrote:

> The principal is about right though. You want a full userdata that
> contains just a pointer. Then you can use a metatable for type
> checking and to provide the object with methods.

If you want an example, (be sure it is not the best, no guarantees)  
you can download:

http://www.dsic.upv.es/~sespana/MT.tgz

Best regards,
S.