get_wrapped_original
Returns the wrapped lclosure from a newcclosure.
function get_wrapped_original(funcfuncfunctionThe newcclosure to get the lclosure from.: function): functionfunctionThe original lclosure wrapped inside the newcclosure.Usage
Retrieve original
function a()
print("Hello World!")
end
local b = newcclosure(a)
local c = get_wrapped_original(b)
print(a == c) --> true