diff --git a/tests/tgen-marray.c b/tests/tgen-marray.c index c6cd7a8f..5111ebfc 100644 --- a/tests/tgen-marray.c +++ b/tests/tgen-marray.c @@ -23,10 +23,11 @@ #include "m-array.h" -ARRAY_DEF(uint, unsigned int) +ARRAY_DEF(array_uint, unsigned int) unsigned int add_two(const array_uint_t tab, size_t i, size_t j); void size_to_exactly(array_uint_t tab, size_t n); +void push_back (array_uint_t tab, unsigned int n); unsigned int add_two(const array_uint_t tab, size_t i, size_t j) { @@ -38,3 +39,8 @@ void size_to_exactly(array_uint_t tab, size_t n) array_uint_resize(tab, 0); array_uint_resize(tab, n); } + +void push_back (array_uint_t tab, unsigned int n) +{ + array_uint_push_back(tab, n); +}