ucx/mempool.h

changeset 169
08adb4f87160
parent 110
53895e9a4bbb
child 255
bf19378aed58
equal deleted inserted replaced
168:6db9c5d7d7ff 169:08adb4f87160
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 {

mercurial