pyo3_ffi

Function PyUnicode_EncodeUTF8

Source
pub unsafe extern "C" fn PyUnicode_EncodeUTF8(
    data: *const wchar_t,
    length: Py_ssize_t,
    errors: *const c_char,
) -> *mut PyObject
Available on non-Py_LIMITED_API only.