diff options
Diffstat (limited to 'include/tinyff')
| -rw-r--r-- | include/tinyff/common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/tinyff/common.h b/include/tinyff/common.h index 653cb6d..370fc8e 100644 --- a/include/tinyff/common.h +++ b/include/tinyff/common.h @@ -8,6 +8,12 @@ #include <stddef.h> #include <tinyff/stream.h> +#ifdef USE_BENCH + +#include <tinyff/bench.h> + +#endif + // Flags typedef bool ff_flag; @@ -77,6 +83,10 @@ typedef struct { // Allocation ff_allocator allocator; + + #ifdef USE_BENCH + ff_bench bench; + #endif } ff_ctx; ff_ctx* ff_init(ff_allocator* allocator); |
