pub type charbufferproc = unsafe extern "C" fn(arg1: *mut PyObject, arg2: Py_ssize_t, arg3: *mut *mut c_char) -> Py_ssize_t;