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 |