lua-users home
lua-l archive

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

> In my C code I first create two lua tables: one for storing 
> callback functions and the other for storing the full userdata.

I forgot to mention, these are stored in the registry. I could have
stored them in an environment except that I also manage callbacks to C
functions with this system. The C function callbacks are created in
functions that are not registered with Lua at all. I didn't want to
register these functions simply so they could access the environment.

- DC