Arguments
function
requis
Function to return directly when it is already a C closure, or wrap in a wrapped C closure otherwise.
string
Optional debug name used for the created closure.
Retours
function
The original function when it is already a C closure, or a new C closure that calls the provided function.