| 13 | #include <ctype.h> |
| 14 | |
| 15 | void UArray_append_(UArray *self, const UArray *other) { |
| 16 | if (UArray_itemSize(self) < UArray_itemSize(other)) { |
| 17 | UArray_convertToItemType_(self, (int)UArray_itemType(other)); |
| 18 | } |
| 19 | |
| 20 | UArray_at_putAll_(self, self->size, other); |
| 21 | } |
| 22 | |
| 23 | void UArray_appendCString_(UArray *self, const char *s) { |
| 24 | /* TODO: pass in the length of the string since it's usually known. */ |
no test coverage detected