pub unsafe extern "C" fn PL_resource_error(
    resource: *const c_char
) -> c_int