diff options
Diffstat (limited to 'mem_pool.h')
-rw-r--r-- | mem_pool.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mem_pool.h b/mem_pool.h index 70678e9fc..4027b5de2 100644 --- a/mem_pool.h +++ b/mem_pool.h @@ -53,6 +53,9 @@ void memory_pool_delete (memory_pool_t* pool); void memory_pool_stat (memory_pool_stat_t *st); +/* Get optimal pool size based on page size for this system */ +size_t memory_pool_get_size (); + #define memory_pool_free(x) ((x)->len - ((x)->pos - (x)->begin)) #endif |