diff options
author | Russell Belfer <rb@github.com> | 2012-04-18 10:57:08 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-04-25 11:14:34 -0700 |
commit | da3b391c32b973d5c073951b6848eedd40434e5e (patch) | |
tree | e4fa76f5300ee4c698e3f0c9c2f6839f2f54aef0 /src/pool.h | |
parent | 19fa2bc111d50dc2bafb1393b87b5ba119615ae2 (diff) | |
download | libgit2-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.h | 2 |
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 |