[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua C Require problem
- From: "Rodrigo Araújo" <alf.rodrigo@...>
- Date: Wed, 19 Dec 2007 15:05:22 -0300
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,