X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/43f490c377cb05d1ac6e7d2c27a06ae940e2c047..a077a9a931a4b81abf0f549d7f463ae75075149a:/test/tvec.h diff --git a/test/tvec.h b/test/tvec.h index 8a18539..3d483b9 100644 --- a/test/tvec.h +++ b/test/tvec.h @@ -127,6 +127,10 @@ # include "macros.h" #endif +#ifndef MLIB_POOL_H +# include "pool.h" +#endif + /*----- Miscellaneous values ----------------------------------------------*/ /* These are attached to structures which represent extension points, as a @@ -483,6 +487,7 @@ struct tvec_state { /* Memory allocation. Read-only for all callers. */ arena *a; + pool *p_session, *p_group, *p_test; /* allocation pools */ /* Test configuration. Read-only for all callers. */ struct tvec_config cfg; /* test configuration */ @@ -508,7 +513,7 @@ struct tvec_state { /* Adhoc testing state. Private. */ struct tvec_test adhoc_test; - const struct tvec_test *adhoc_tests[]; + const struct tvec_test *adhoc_tests[2]; }; /* @TVEC_REG(tv, vec, i)@