libowfat/array/array_cat.c
2004-01-06 23:35:06 +00:00

11 lines
199 B
C

#include "array.h"
#include "byte.h"
void array_cat(array* to,const array* const from) {
if (from->allocated<0) {
array_fail(to);
return;
}
array_catb(to,from->p,from->initialized);
}