pyo3_ffi

Function PyCode_New

Source
pub unsafe extern "C" fn PyCode_New(
    argcount: c_int,
    kwonlyargcount: c_int,
    nlocals: c_int,
    stacksize: c_int,
    flags: c_int,
    code: *mut PyObject,
    consts: *mut PyObject,
    names: *mut PyObject,
    varnames: *mut PyObject,
    freevars: *mut PyObject,
    cellvars: *mut PyObject,
    filename: *mut PyObject,
    name: *mut PyObject,
    firstlineno: c_int,
    lnotab: *mut PyObject,
) -> *mut PyCodeObject
Available on non-Py_LIMITED_API and non-GraalPy only.