ucx/ucx.h

changeset 169
08adb4f87160
parent 110
53895e9a4bbb
child 255
bf19378aed58
equal deleted inserted replaced
168:6db9c5d7d7ff 169:08adb4f87160
68 extern "C" { 68 extern "C" {
69 #else 69 #else
70 /** Pointless in C. */ 70 /** Pointless in C. */
71 #define UCX_EXTERN 71 #define UCX_EXTERN
72 #endif 72 #endif
73
74
75 /**
76 * A function pointer to a destructor function.
77 * @see ucx_mempool_setdestr()
78 * @see ucx_mempool_regdestr()
79 */
80 typedef void(*ucx_destructor)(void*);
73 81
74 /** 82 /**
75 * Function pointer to a compare function. 83 * Function pointer to a compare function.
76 * 84 *
77 * The compare function shall take three arguments: the two values that shall be 85 * The compare function shall take three arguments: the two values that shall be

mercurial