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

Function UArray_copyData_

libs/basekit/source/UArray.c:481–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479}
480
481void UArray_copyData_(UArray *self, const UArray *other) {
482 UArray_setSize_(self, UArray_sizeRequiredToContain_(self, other));
483 memmove(self->data, other->data, UArray_sizeInBytes(other));
484}
485
486void UArray_convertToItemType_(UArray *self, CTYPE newItemType) {
487 if (self->itemType != newItemType) {

Callers 1

UArray_copyItems_Function · 0.85

Calls 3

UArray_setSize_Function · 0.85
UArray_sizeInBytesFunction · 0.85

Tested by

no test coverage detected