add flags to disable auto assert and auto memset

This commit is contained in:
Anthony Minessale authored and Mike Jerris committed 2017-01-25 14:59:36 -06:00
1 parent a0e3c93b09
commit a42ed8f8f0
2 files changed
+17 -2

No files matched your search

+2 -1
View File
@@ -34,8 +34,9 @@ KS_BEGIN_EXTERN_C
typedef enum {
KS_POOL_FLAG_DEFAULT = 0,
KS_POOL_FLAG_BEST_FIT = (1 << 0),
KS_POOL_FLAG_NO_ASSERT = (1 << 1),
KS_POOL_FLAG_NO_ZERO = (1 << 2),
/*
* Choose a best fit algorithm not first fit. This takes more CPU
* time but will result in a tighter heap.