MCPcopy Create free account
hub / github.com/IoLanguage/io / UArray_append_

Function UArray_append_

libs/basekit/source/UArray_string.c:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13#include <ctype.h>
14
15void 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
23void UArray_appendCString_(UArray *self, const char *s) {
24 /* TODO: pass in the length of the string since it's usually known. */

Callers 9

UArray_quoteFunction · 0.85
BStream_writeUArray_Function · 0.85
UArray_readFromCStream_Function · 0.85
UArray_appendPath_Function · 0.85
UArray_appendBytes_size_Function · 0.85
IoSeq_immutable.cFile · 0.85
IoSeq_mutable.cFile · 0.85
IoBlock_justCodeFunction · 0.85

Calls 4

UArray_itemSizeFunction · 0.85
UArray_itemTypeFunction · 0.85
UArray_at_putAll_Function · 0.85

Tested by

no test coverage detected