Files
mars-libowfat/array/array_cate.c
2025-01-20 18:40:47 +00:00

10 lines
207 B
C

#include <libowfat/array.h>
void array_cate(array* to,const array* const from,int64 pos,int64 stop) {
if (pos<0 || stop<pos) {
array_fail(to);
return;
}
array_catb(to,from->p+pos,stop-pos);
}