ucx/map.h

changeset 52
34f50d0bada4
parent 51
1c78cd19fb6b
child 53
e533c170bfb8
     1.1 --- a/ucx/map.h	Fri Oct 05 14:06:40 2012 +0200
     1.2 +++ b/ucx/map.h	Fri Oct 05 16:59:14 2012 +0200
     1.3 @@ -58,8 +58,9 @@
     1.4  UcxMap *ucx_map_new(size_t size);
     1.5  void ucx_map_free(UcxMap *map);
     1.6  /* you cannot clone maps with more than 390 mio entries */
     1.7 +int ucx_map_copy(UcxMap *from, UcxMap *to, copy_func fnc, void *data);
     1.8  UcxMap *ucx_map_clone(UcxMap *map, copy_func fnc, void *data);
     1.9 -UcxMap *ucx_map_rehash(UcxMap *map);
    1.10 +int ucx_map_rehash(UcxMap *map);
    1.11  
    1.12  int ucx_map_put(UcxMap *map, UcxKey key, void *data);
    1.13  void* ucx_map_get(UcxMap *map, UcxKey key);

mercurial