208:262c7be94eba | 209:4f02199d8aae |
---|---|
43 #include "allocator.h" | 43 #include "allocator.h" |
44 | 44 |
45 #ifdef __cplusplus | 45 #ifdef __cplusplus |
46 extern "C" { | 46 extern "C" { |
47 #endif | 47 #endif |
48 | |
49 /** | |
50 * A function pointer to a destructor function. | |
51 * @see ucx_mempool_setdestr() | |
52 * @see ucx_mempool_regdestr() | |
53 */ | |
54 typedef void(*ucx_destructor)(void*); | |
55 | 48 |
56 /** | 49 /** |
57 * UCX mempool structure. | 50 * UCX mempool structure. |
58 */ | 51 */ |
59 typedef struct { | 52 typedef struct { |