summaryrefslogtreecommitdiff
path: root/src/arena.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arena.h')
-rw-r--r--src/arena.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arena.h b/src/arena.h
index 0bad0bfa..569833ca 100644
--- a/src/arena.h
+++ b/src/arena.h
@@ -37,7 +37,7 @@ namespace gitstatus {
//
// // Donates a block to the arena. When the time comes, it'll be freed with
// // free(p, size, userdata).
-// void Donate(void* p, size_t size, void* userdata, void(*free)(void*, void*));
+// void Donate(void* p, size_t size, void* userdata, void(*free)(void*, size_t, void*));
class Arena {
public:
struct Options {
@@ -62,7 +62,7 @@ class Arena {
//
// void* userdata;
// void (*alloc)(size_t size, size_t alignment, void* userdata);
- // void (*free)(size_t size, void* userdata);
+ // void (*free)(void* p, size_t size, void* userdata);
};
// Requires: opt.min_block_size <= opt.max_block_size.