Make INIT operator optionnal for ARRAY & LIST.

This commit is contained in:
Patrick Pelissier committed 2018-09-08 08:21:13 +02:00
1 parent 7a55667a5d
commit 2174c28aa2
4 files changed
+32 -8

No files matched your search

+3
View File
@@ -31,6 +31,9 @@ ARRAY_DEF(array_mpz, testobj_t, TESTOBJ_OPLIST)
END_COVERAGE
#define ARRAY_UINT_OPLIST ARRAY_OPLIST(array_uint)
// Array with the minimum number of methods.
ARRAY_DEF(array_min_z, testobj_t, (INIT_SET(testobj_init_set), SET(testobj_set), CLEAR(testobj_clear)))
static void test_uint(void)
{
array_uint_t v;