ucx/ucx.h

changeset 18
69636f81db31
parent 5
a1740117e2b7
child 26
59f147baea31
     1.1 --- a/ucx/ucx.h	Sat Dec 31 22:48:28 2011 +0100
     1.2 +++ b/ucx/ucx.h	Wed Jan 04 14:51:54 2012 +0100
     1.3 @@ -14,8 +14,15 @@
     1.4  extern "C" {
     1.5  #endif
     1.6  
     1.7 +/* source,data -> errno */
     1.8  typedef int(*ucx_callback)(void*,void*);
     1.9  
    1.10 +/* element1,element2,custom data -> {-1,0,1} */
    1.11 +typedef int(*cmp_func)(void*,void*,void*);
    1.12 +
    1.13 +/* element,custom data -> copy of element */
    1.14 +typedef void*(*copy_func)(void*,void*);
    1.15 +
    1.16  #ifdef	__cplusplus
    1.17  }
    1.18  #endif

mercurial