GetLuaState

LuaFAR 3

GetLuaState


lua_State* GetLuaState()

Returns the current main lua_State of the plugin.

Do not store the returned value for further use, as it may be invalidated by recreation. Instead, call this function again whenever needed.