the following change are needed for window
file LuaExtension.cxx
/*
luaopen_base(luaState);
luaopen_string(luaState);
luaopen_table(luaState);
luaopen_math(luaState);
luaopen_io(luaState);
luaopen_debug(luaState);
*/
// #if PLAT_WIN
// loadlib might also work on Linux and some Unix variants, with some
additional defines.
luaL_openlibs(luaState);
// #endif
------- always use luaL_openlibs
add linit.o loslib.o as LUA_CORE_OBJS in the win32\makefile
-------------------------------------
note: some lua macro will fail because of the change in LUA but this turn out to
be really easy.
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest