|
|
||
|
The use of varargs in lua_newstate() is troublesome on the Windows platform when building a DLL. If you want to build a "correct" DLL you cannot use the C calling convention, thus can't use varargs, thus you can't export that function. That makes using Lua a bit difficult! ;->
scuri
#ifndef LUA_REENTRANT static lua_State *lua_state = 0; #endif