MCPcopy Create free account
hub / github.com/PyO3/pyo3 / _PyCode_SetExtra

Function _PyCode_SetExtra

pyo3-ffi/src/cpython/code.rs:172–178  ·  view source on GitHub ↗
(
    code: *mut PyObject,
    index: Py_ssize_t,
    extra: *mut c_void,
)

Source from the content-addressed store, hash-verified

170#[deprecated(since = "0.29.0", note = "renamed to PyUnstable_Code_SetExtra")]
171#[inline]
172pub unsafe extern "C" fn _PyCode_SetExtra(
173 code: *mut PyObject,
174 index: Py_ssize_t,
175 extra: *mut c_void,
176) -> c_int {
177 PyUnstable_Code_SetExtra(code, index, extra)
178}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected