pyo3::ffi

Function PyUnicode_AsUTF8AndSize

Source
pub unsafe extern "C" fn PyUnicode_AsUTF8AndSize(
    unicode: *mut PyObject,
    size: *mut isize,
) -> *const i8
Available on Py_3_10 or non-Py_LIMITED_API only.
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here