| 311 | } |
| 312 | |
| 313 | BASEKIT_API int UArray_endsWith_(UArray *self, const UArray *other) { |
| 314 | if (self->size >= other->size) { |
| 315 | UArray tmp = |
| 316 | UArray_stackRange(self, self->size - other->size, other->size); |
| 317 | return UArray_find_(&tmp, other) != -1; |
| 318 | } |
| 319 | |
| 320 | return 0; |
| 321 | } |
| 322 | |
| 323 | // escape and quote |
| 324 |
no test coverage detected