src/cx/map.h

changeset 1109
89ec23988b88
parent 1102
db5e355e5349
child 1111
78eeeb950883
equal deleted inserted replaced
1108:c3bde8ff1c0b 1109:89ec23988b88
208 * 208 *
209 * Also calls the content destructor functions for each element, if specified. 209 * Also calls the content destructor functions for each element, if specified.
210 * 210 *
211 * @param map the map to be freed 211 * @param map the map to be freed
212 */ 212 */
213 static inline void cxMapFree(CxMap *map) { 213 void cxMapFree(CxMap *map);
214 if (map == NULL) return;
215 map->cl->deallocate(map);
216 }
217 214
218 215
219 /** 216 /**
220 * Clears a map by removing all elements. 217 * Clears a map by removing all elements.
221 * 218 *

mercurial