Commit 1b4449b40d1a69026311a45d2e3534b1d2cb66a9

Edward Thomson 2015-10-28T10:53:03

pool: fix documentation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/src/pool.h b/src/pool.h
index 4f1e6f3..d16bd34 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