Differences From Artifact [1c28d70477]:
- File src/map.h — part of check-in [c339f2040e] at 2012-04-22 02:34:55 on branch trunk — Add map iteration. (user: js, size: 1873) [annotate] [blame] [check-ins using]
To Artifact [29511f679d]:
- File src/map.h — part of check-in [082d69b467] at 2012-09-30 02:21:50 on branch trunk — Add cfw_map_{get,set}_c() for convenience. (user: js, size: 1979) [annotate] [blame] [check-ins using]
︙ | |||
37 38 39 40 41 42 43 44 45 46 47 48 | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | + + | CFWMap *_map; uint32_t _pos; } cfw_map_iter_t; extern CFWClass *cfw_map; extern size_t cfw_map_size(CFWMap*); extern void* cfw_map_get(CFWMap*, void*); extern void* cfw_map_get_c(CFWMap*, const char*); extern bool cfw_map_set(CFWMap*, void*, void*); extern bool cfw_map_set_c(CFWMap*, const char*, void*); extern void cfw_map_iter(CFWMap*, cfw_map_iter_t*); extern void cfw_map_iter_next(cfw_map_iter_t*); #endif |