Functions
Documentation of function-related Synapse Z environment functions
islclosure
bool islclosure(target: function)
returns whenever the target function is a lua function or not
iscclosure
bool iscclosure(target: function)
returns whenever the target function is a c function or not
isexecutorclosure
bool isexecutorclosure(target: function)
returns whenever the target function is an executor function or not
newlclosure
function newlclosure(target: function)
returns a new lua function of the specified function
newcclosure
function newcclosure(target: function, name: string?)
returns a new c function of the specified function with optional function name
clonefunction
function clonefunction(target: function)
returns a clone of the specified function
getfunctionbytecode
string getfunctionbytecode(target: function)