| 122 | } |
| 123 | |
| 124 | BASEKIT_API int UArray_clipAfter_(UArray *self, const UArray *other) { |
| 125 | long index = UArray_find_(self, other); |
| 126 | |
| 127 | if (index > -1) { |
| 128 | UArray_removeRange(self, index + other->size, self->size); |
| 129 | return 1; |
| 130 | } |
| 131 | |
| 132 | return 0; |
| 133 | } |
| 134 | |
| 135 | BASEKIT_API int UArray_clipAfterStartOf_(UArray *self, const UArray *other) { |
| 136 | long index = UArray_find_(self, other); |
no test coverage detected