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