diff -r a54115d554f7 -r 86b19c98b5fd ucx/map.h --- a/ucx/map.h Fri Jun 21 11:18:24 2013 +0200 +++ b/ucx/map.h Thu Jul 11 17:32:48 2013 +0200 @@ -55,6 +55,7 @@ typedef void*(*ucx_map_coder)(void*,void*,size_t*); struct UcxMap { + UcxAllocator *allocator; UcxMapElement **map; size_t size; size_t count; @@ -80,6 +81,7 @@ UcxMap *ucx_map_new(size_t size); +UcxMap *ucx_map_new_allocator(size_t size, UcxAllocator *allocator); void ucx_map_free(UcxMap *map); /* you cannot clone maps with more than 390 mio entries */ int ucx_map_copy(UcxMap *restrict from, UcxMap *restrict to,