unsafe extern "C" fn error_callback(
    error: *const c_char
) -> *mut c_void