ucx/ucx.h

changeset 18
69636f81db31
parent 5
a1740117e2b7
child 26
59f147baea31
equal deleted inserted replaced
17:2e7050c3a18e 18:69636f81db31
12 12
13 #ifdef __cplusplus 13 #ifdef __cplusplus
14 extern "C" { 14 extern "C" {
15 #endif 15 #endif
16 16
17 /* source,data -> errno */
17 typedef int(*ucx_callback)(void*,void*); 18 typedef int(*ucx_callback)(void*,void*);
19
20 /* element1,element2,custom data -> {-1,0,1} */
21 typedef int(*cmp_func)(void*,void*,void*);
22
23 /* element,custom data -> copy of element */
24 typedef void*(*copy_func)(void*,void*);
18 25
19 #ifdef __cplusplus 26 #ifdef __cplusplus
20 } 27 }
21 #endif 28 #endif
22 29

mercurial