src/map.c

changeset 1109
89ec23988b88
parent 985
68754c7de906
equal deleted inserted replaced
1108:c3bde8ff1c0b 1109:89ec23988b88
98 CxIterator cxMapMutIterator(CxMap *map) { 98 CxIterator cxMapMutIterator(CxMap *map) {
99 CxIterator it = map->cl->iterator(map, CX_MAP_ITERATOR_PAIRS); 99 CxIterator it = map->cl->iterator(map, CX_MAP_ITERATOR_PAIRS);
100 it.base.mutating = true; 100 it.base.mutating = true;
101 return it; 101 return it;
102 } 102 }
103
104 void cxMapFree(CxMap *map) {
105 if (map == NULL) return;
106 map->cl->deallocate(map);
107 }

mercurial