lua-users home
lua-l archive

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

Title: Message
Does anyone have any good suggestions for how to deal with getting back to some private instance data when in a global C function called by Lua? Global variables are not an option, and there could be multiple instances of lua running.
It's easy enough to modify Lua to add this as part of the state, but is there a more correct way to do this that doesn't require modifying Lua?