diff --git a/example/ex-algo02.c b/example/ex-algo02.c index 7115a835..5f0f5f9d 100644 --- a/example/ex-algo02.c +++ b/example/ex-algo02.c @@ -10,9 +10,9 @@ ARRAY_DEF(vector_int, int) ALGO_DEF(vector_int, vector_int_t) /* Define a dynamic array of bool */ -ARRAY_DEF(vector_bool, bool) +ARRAY_DEF(vector_bool, bool, M_BOOL_OPLIST) /* Register the oplist of this dynamic array globally */ -#define M_OPL_vector_bool_t() ARRAY_OPLIST(vector_bool) +#define M_OPL_vector_bool_t() ARRAY_OPLIST(vector_bool, M_BOOL_OPLIST) /* Define some standards algorithms on this dynamic array */ ALGO_DEF(vector_bool, vector_bool_t)