LuaScript Xojo and Real Studio Plugin

LuaScriptContext.Constructor Constructor (console safe)

Constructor that constructs the LuaScriptContext from a Ptr in a REALbasic function that Lua is calling.

Constructor(
   context as Ptr)

Parameters

context
A pointer to a valid Lua context.

Remarks

VERY important the Ptr may only be valid Ptr that is coming from Lua. Getting the Ptr in any other way will get out a crash.

See Also

LuaScriptContext Class