You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
198 B
C
10 lines
198 B
C
22 years ago
|
#include "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);
|
||
|
}
|