py_newfunction method
Create a function
object.
Implementation
int py_newfunction(
py_OutRef out,
ffi.Pointer<ffi.Char> sig,
py_CFunction f,
ffi.Pointer<ffi.Char> docstring,
int slots,
) {
return _py_newfunction(
out,
sig,
f,
docstring,
slots,
);
}