mrdocs::lua::Context::nativeState
Return the underlying lua_State*.
Synopsis
Declared in <mrdocs/Engines/Lua/Context.hpp>
void*
nativeState() const noexcept;
Description
Exposed as void* so callers don't have to drag lua.h into the public API. Cast to lua_State* at the use site. The state is owned by this Context and must not be `lua_close`d by the caller; use this only when the wrapper does not yet abstract the operation you need (for example, registering a native C function that the script can call as a global).
Return Value
the underlying lua_State*.
Created with MrDocs