pyo3_ffi

Function PyUnicode_EncodeUTF16

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