diff -r 6db9c5d7d7ff -r 08adb4f87160 ucx/ucx.h --- a/ucx/ucx.h Thu Oct 15 12:46:09 2015 +0200 +++ b/ucx/ucx.h Thu Oct 15 15:01:50 2015 +0200 @@ -70,6 +70,14 @@ /** Pointless in C. */ #define UCX_EXTERN #endif + + +/** + * A function pointer to a destructor function. + * @see ucx_mempool_setdestr() + * @see ucx_mempool_regdestr() + */ +typedef void(*ucx_destructor)(void*); /** * Function pointer to a compare function.