lua-users home
lua-l archive

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

Hi there,

Thanks for the quick replies.
After your answers, I've tried using the functions luaopen_package but received
"PANIC: unprotected error in call to Lua API (no calling environment)"

After some googling, I find out that Lua open Library functions shouldn't be used directly as I was using on my older code, that way, I switched to using
luaL_openlibs(state) and it worked.

Thanks for the help,
Rodrigo Araujo