252:6342cbbd1922 | 253:e19825a1430a |
---|---|
121 | 121 |
122 UCX_TEST_END | 122 UCX_TEST_END |
123 ucx_mempool_destroy(pool); | 123 ucx_mempool_destroy(pool); |
124 } | 124 } |
125 | 125 |
126 UCX_EXTERN void test_setdestr(void* elem) { | 126 #ifdef __cplusplus |
127 extern "C" | |
128 #endif | |
129 void test_setdestr(void* elem) { | |
127 intptr_t *cb = (intptr_t*) ((intptr_t*) elem)[1]; | 130 intptr_t *cb = (intptr_t*) ((intptr_t*) elem)[1]; |
128 *cb = 42; | 131 *cb = 42; |
129 } | 132 } |
130 | 133 |
131 UCX_TEST(test_ucx_mempool_set_destr) { | 134 UCX_TEST(test_ucx_mempool_set_destr) { |