LF_InitLuaState1
void LF_InitLuaState1 (lua_State* L, lua_CFunction OpenLibs)
Parameters:
L: Lua state.
OpenLibs: Pointer to a function that can open additional
libraries. (NULL is allowed.)
Description:
This function is called by the plugin during GetGlobalInfoW
call.
It opens the standard Lua libraries, win
, bit64
and
unicode
libraries and calls OpenLibs
function.