LF_InitLuaState2
void LF_InitLuaState2 (lua_State *L, TPluginData *Data)
Parameters:
L: Lua state.
Data: Pointer to the struct containing specific plugin data.
Description:
This function is called by the plugin during SetStartupInfoW
call. It stores pointer to the plugin’s data within the Lua state, making them available to all LuaFAR functions. Then it loads far
library.