diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2015-10-28 10:53:03 -0400 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-10-28 10:53:03 -0400 |
| commit | 1b4449b40d1a69026311a45d2e3534b1d2cb66a9 (patch) | |
| tree | 5f786745f26a7c7e2f7891414851147fc61638e3 /src/pool.h | |
| parent | 232a7e3205ede0e16ee9f88962ba5020167d95f4 (diff) | |
| download | libgit2-1b4449b40d1a69026311a45d2e3534b1d2cb66a9.tar.gz | |
pool: fix documentation
Diffstat (limited to 'src/pool.h')
| -rw-r--r-- | src/pool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pool.h b/src/pool.h index 4f1e6f304..d16bd349a 100644 --- a/src/pool.h +++ b/src/pool.h @@ -38,12 +38,12 @@ typedef struct { * * To allocation strings, use like this: * - * git_pool_init(&string_pool, 1, 0); + * git_pool_init(&string_pool, 1); * my_string = git_pool_strdup(&string_pool, your_string); * * To allocate items of fixed size, use like this: * - * git_pool_init(&pool, sizeof(item), 0); + * git_pool_init(&pool, sizeof(item)); * my_item = git_pool_malloc(&pool, 1); * * Of course, you can use this in other ways, but those are the |
