summaryrefslogtreecommitdiff
path: root/slabs.h
diff options
context:
space:
mode:
Diffstat (limited to 'slabs.h')
-rw-r--r--slabs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/slabs.h b/slabs.h
index fb29cfa..b993b5f 100644
--- a/slabs.h
+++ b/slabs.h
@@ -19,7 +19,8 @@ void slabs_init(const size_t limit, const double factor, const bool prealloc);
unsigned int slabs_clsid(const size_t size);
/** Allocate object of given length. 0 on error */ /*@null@*/
-void *slabs_alloc(const size_t size, unsigned int id, unsigned int *total_chunks);
+#define SLABS_ALLOC_NO_NEWPAGE 1
+void *slabs_alloc(const size_t size, unsigned int id, unsigned int *total_chunks, unsigned int flags);
/** Free previously allocated object */
void slabs_free(void *ptr, size_t size, unsigned int id);