lua-users home
lua-l archive

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

On Tue, Oct 26, 2010 at 12:55 AM, Mike Pall <> wrote:
> Errm ... if Civ5 doesn't use luaL_openlibs() then the jit.*
> library may not be loaded and the JIT compiler is not enabled.
> For LuaJIT 1.x this means you end up with plain Lua. :-)
> If this allows you to run your own Lua scripts, then try printing
> the version, e.g.: print(jit.version)
> --Mike

I yet to experiment if I can print anything to console in Civ5's lua
but a quick dependency walking shows that it did use luaL_openlibs()
to do something,
no luaopen_xxx is used. Guess that's a good sign.. : p