Differences From Artifact [f99eaff291]:
- File cfwarray.h — part of check-in [2605e9af3f] at 2012-04-08 17:24:04 on branch trunk — Initial import. (user: js, size: 1800) [annotate] [blame] [check-ins using]
- File src/cfwarray.h — part of check-in [839e11b5aa] at 2012-04-08 17:50:33 on branch trunk — Add a buildsys. (user: js, size: 1800) [annotate] [blame] [check-ins using]
To Artifact [34955eb873]:
- File
src/cfwarray.h
— part of check-in
[13e46a72ba]
at
2012-04-08 18:45:41
on branch trunk
— New array functions.
* cfw_array_contains()
* cfw_array_contains_ptr()
* cfw_array_find()
* cfw_array_find_ptr() (user: js, size: 2004) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
33 34 35 36 37 38 39 40 41 | extern CFWClass *cfw_array; extern size_t cfw_array_size(CFWArray*); extern void* cfw_array_get(CFWArray*, size_t); extern bool cfw_array_set(CFWArray*, size_t, void*); extern bool cfw_array_push(CFWArray*, void*); extern void* cfw_array_last(CFWArray*); extern bool cfw_array_pop(CFWArray*); #endif | > > > > | 33 34 35 36 37 38 39 40 41 42 43 44 45 | extern CFWClass *cfw_array; extern size_t cfw_array_size(CFWArray*); extern void* cfw_array_get(CFWArray*, size_t); extern bool cfw_array_set(CFWArray*, size_t, void*); extern bool cfw_array_push(CFWArray*, void*); extern void* cfw_array_last(CFWArray*); extern bool cfw_array_pop(CFWArray*); extern bool cfw_array_contains(CFWArray*, void*); extern bool cfw_array_contains_ptr(CFWArray*, void*); extern size_t cfw_array_find(CFWArray*, void*); extern size_t cfw_array_find_ptr(CFWArray*, void*); #endif |