ucx/map.c

changeset 137
81a02ad99388
parent 136
b798f2eed26a
child 139
dddb9348ea42
     1.1 --- a/ucx/map.c	Fri Aug 09 15:29:26 2013 +0200
     1.2 +++ b/ucx/map.c	Fri Aug 09 18:46:07 2013 +0200
     1.3 @@ -32,10 +32,10 @@
     1.4  #include "map.h"
     1.5  
     1.6  UcxMap *ucx_map_new(size_t size) {
     1.7 -    return ucx_map_new_a(size, NULL);
     1.8 +    return ucx_map_new_a(NULL, size);
     1.9  }
    1.10  
    1.11 -UcxMap *ucx_map_new_a(size_t size, UcxAllocator *allocator) {
    1.12 +UcxMap *ucx_map_new_a(UcxAllocator *allocator, size_t size) {
    1.13      if(size == 0) {
    1.14          size = 16;
    1.15      }

mercurial