pub unsafe extern "C" fn PL_set_resource_db_mem(
    data: *const c_uchar,
    size: usize
) -> c_int