summaryrefslogtreecommitdiff
path: root/src/pool.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-04-18 10:57:08 -0700
committerRussell Belfer <rb@github.com>2012-04-25 11:14:34 -0700
commitda3b391c32b973d5c073951b6848eedd40434e5e (patch)
treee4fa76f5300ee4c698e3f0c9c2f6839f2f54aef0 /src/pool.h
parent19fa2bc111d50dc2bafb1393b87b5ba119615ae2 (diff)
downloadlibgit2-da3b391c32b973d5c073951b6848eedd40434e5e.tar.gz
Convert revwalk to use git_pool
This removes the custom paged allocator from revwalk and replaces it with a `git_pool`.
Diffstat (limited to 'src/pool.h')
-rw-r--r--src/pool.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pool.h b/src/pool.h
index a92589087..54a2861ed 100644
--- a/src/pool.h
+++ b/src/pool.h
@@ -120,4 +120,6 @@ extern bool git_pool__ptr_in_pool(git_pool *pool, void *ptr);
extern uint32_t git_pool__system_page_size(void);
+extern uint32_t git_pool__suggest_items_per_page(uint32_t item_size);
+
#endif