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

Function UArray_rawPointerAt_

libs/basekit/source/UArray.c:552–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550// at, without bounds check
551
552void *UArray_rawPointerAt_(const UArray *self, size_t i) {
553 if (self->itemType == CTYPE_uintptr_t) {
554 return ((void **)self->data)[i];
555 }
556
557 UArray_error_(self, "UArray_rawPointerAt_ not supported on this type");
558 return NULL;
559}
560
561long UArray_rawLongAt_(const UArray *self, size_t i) {
562 UARRAY_RAWAT_(self, i);

Callers 2

UArray_split_Function · 0.85
UArray_pointerAt_Function · 0.85

Calls 1

UArray_error_Function · 0.85

Tested by

no test coverage detected