summaryrefslogtreecommitdiff
path: root/test/helpers.h
blob: 6a268c108af6291dfc00b0c178eae5ff177badf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: MIT */
/*
 * Description: Helpers for tests.
 */
#ifndef LIBURING_HELPERS_H
#define LIBURING_HELPERS_H

#ifdef __cplusplus
extern "C" {
#endif

/*
 * Helper for allocating memory in tests.
 */
void *io_uring_malloc(size_t size);

#ifdef __cplusplus
}
#endif

#endif