Skip to main content

ssizeargfunc

Function ssizeargfunc 

Source
pub unsafe extern "C" fn ssizeargfunc<Meth: MethodDef<Func>>(
    arg1: *mut PyObject,
    arg2: Py_ssize_t,
) -> *mut PyObject
Expand description

External symbol called by Python, which calls the provided Rust function.

The Rust function is supplied via the generic parameter Meth.

§Safety

The interpreter must be attached

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here