void UArray_unsupported_with_(const UArray *self, const char *methodName, const UArray *other) { //UArray_error_(self, "Error: '%s' not supported between '%s' and '%s'\n"); printf("Error: '%s' not supported between '%s' and '%s'\n", methodName, CTYPE_name(self->itemType), CTYPE_name(other->itemType)); exit(-1); }
IO_METHOD(IoSeq, itemType) { /*doc Sequence itemType Returns machine type of elements. */ return IOSYMBOL(CTYPE_name(UArray_itemType(DATA(self)))); }
IoObject *IoSeq_itemType(IoSeq *self, IoObject *locals, IoMessage *m) { /*doc Sequence itemType Returns machine type of elements. */ return IOSYMBOL(CTYPE_name(UArray_itemType(DATA(self)))); }
void UArray_show(const UArray *self) { printf("UArray_%p %s\t", (void *)self, CTYPE_name(self->itemType)); printf("size: %i ", (int)self->size); printf("itemSize: %i ", (int)self->itemSize); printf("data: "); UArray_print(self); printf("\n"); }