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

Function UArray_setCString_

libs/basekit/source/UArray.c:357–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355void UArray_empty(UArray *self) { UArray_setSize_(self, 0); }
356
357void UArray_setCString_(UArray *self, const char *s) {
358 UArray_empty(self);
359 UArray_setItemType_(self, CTYPE_uint8_t);
360 UArray_appendCString_(self, s);
361}
362
363#ifdef UARRAY_DEBUG
364void UArray_checkIfOkToRelloc(UArray *self) {

Callers 1

BStream_error_Function · 0.85

Calls 3

UArray_emptyFunction · 0.85
UArray_setItemType_Function · 0.85
UArray_appendCString_Function · 0.85

Tested by

no test coverage detected