LuaState.fromPointer

Get the LuaState instance for a Lua state.

class LuaState
static @trusted
fromPointer

Parameters

L lua_State*

Lua state

Return Value

Type: LuaState

LuaState for the given lua_State*, or null if a LuaState is not currently attached to the state

Meta