blob: 7acf18406eb97f9c510df8c829dc591ef961b6eb [file] [log] [blame]
/* SPDX-License-Identifier: MIT */
/*
* Description: Helpers for tests.
*/
#include <stdlib.h>
#include <assert.h>
#include "helpers.h"
/*
* Helper for allocating memory in tests.
*/
void *io_uring_malloc(size_t size)
{
void *ret;
ret = malloc(size);
assert(ret);
return ret;
}