ucx/map.h

changeset 67
27e67e725d35
parent 53
e533c170bfb8
child 69
fb59270b1de3
     1.1 --- a/ucx/map.h	Thu Oct 11 08:42:56 2012 +0200
     1.2 +++ b/ucx/map.h	Thu Oct 11 11:42:31 2012 +0200
     1.3 @@ -58,7 +58,8 @@
     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 +int ucx_map_copy(UcxMap *restrict from, UcxMap *restrict to,
     1.9 +        copy_func fnc, void *data);
    1.10  UcxMap *ucx_map_clone(UcxMap *map, copy_func fnc, void *data);
    1.11  int ucx_map_rehash(UcxMap *map);
    1.12  
    1.13 @@ -75,7 +76,7 @@
    1.14  
    1.15  UcxKey ucx_key(void *data, size_t len);
    1.16  
    1.17 -int ucx_hash(char *data, size_t len);
    1.18 +int ucx_hash(const char *data, size_t len);
    1.19  
    1.20  UcxMapIterator ucx_map_iterator(UcxMap *map);
    1.21  

mercurial