lua-users home
lua-l archive

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


CONFIG_REGKEY is NULL (hence the crash) despite the fact it is initialized at tools.c line 63. Change tools.h as follows:

extern char const* const CONFIG_REGKEY;
extern char const* const LOOKUP_REGKEY;

(added 'extern' to the variable declarations at the end of the file).


2013/11/6 Ulrich Schmidt <u.sch.zw@gmx.de>
Ok i am debugging...
in function
        int LANES_API luaopen_lanes_core( lua_State* L)
the line
        lua_getfield( L, LUA_REGISTRYINDEX, CONFIG_REGKEY); // M LG_configure() settings
crahes.

Just to let you know. I will continue bug hunting .... :)

Ulrich.





--
Benoit.