[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Environment of a Lua function called from C
- From: Etan Reisner <deryni@...>
- Date: Wed, 15 Aug 2007 01:25:30 -0400
How are you creating your lua state? Are you opening up the default
libraries (luaL_openlibs)? Or are you just calling lua_open/luaL_newstate?
If you are doing the former then something else is going on but if you are
only doing the latter that is likely your problem and you likely just need
to load the correct 'libraries' when you create your state.