Differences From Artifact [58791b4765]:
- File
src/cfwarray.c
— 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: 4897) [annotate] [blame] [check-ins using]
To Artifact [ff44ea7550]:
- File src/cfwarray.c — part of check-in [1fd9e16f18] at 2012-04-08 19:06:46 on branch trunk — clsptr -> cls. (user: js, size: 4894) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
68 69 70 71 72 73 74 | static bool equal(void *ptr1, void *ptr2) { CFWObject *obj2 = ptr2; CFWArray *array1, *array2; size_t i; | | | 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | static bool equal(void *ptr1, void *ptr2) { CFWObject *obj2 = ptr2; CFWArray *array1, *array2; size_t i; if (obj2->cls != cfw_array) return false; array1 = ptr1; array2 = ptr2; if (array1->size != array2->size) return false; |
︙ | ︙ |