Skip to main content
Wraps a C closure in a Lua closure wrapper.

Parameters

Returns

function - The wrapped Lua closure function.

Example

Allows treating C functions as standard Lua closures.