libowfat/array/array_equal.c

8 lines
196 B
C

#include "byte.h"
#include "array.h"
int array_equal(const array* const x,const array* const y) {
if (x->initialized!=y->initialized) return 0;
return byte_equal(x->p,x->initialized,y->p);
}