[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Environment of a Lua function called from C
- From: "Evan DeMond" <evan.demond@...>
- Date: Wed, 15 Aug 2007 08:54:03 -0400
That was it. Actually figured it out very shortly after firing off the e-mail, apologies. Seemed a very strange bug at the time. =)
Evan
On 8/15/07,
Etan Reisner <deryni@unreliablesource.net> wrote:
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.
-Etan