pyo3::ffi

Function PyCode_New

Source
pub unsafe extern "C" fn PyCode_New(
    argcount: i32,
    kwonlyargcount: i32,
    nlocals: i32,
    stacksize: i32,
    flags: i32,
    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: i32,
    lnotab: *mut PyObject,
) -> *mut PyCodeObject
Available on non-GraalPy only.
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here