ucx/ucx.h

changeset 169
08adb4f87160
parent 110
53895e9a4bbb
child 255
bf19378aed58
--- 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.

mercurial