diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-11-24 14:32:19 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-11-24 14:32:19 +0300 |
commit | 21df7db2b2d51526abad93e9415ce91823c808a0 (patch) | |
tree | c51ba532154639a6945272d640b60bd24d57367c /gitstatus/src/arena.h | |
parent | 31ede3c1d348783239dbce37ae4123ae439d99a8 (diff) | |
parent | 39cf063480f6a378dadc802c174e96112c38c0c0 (diff) |
Merge commit '39cf063480f6a378dadc802c174e96112c38c0c0'
Diffstat (limited to 'gitstatus/src/arena.h')
-rw-r--r-- | gitstatus/src/arena.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gitstatus/src/arena.h b/gitstatus/src/arena.h index 0bad0bfa..569833ca 100644 --- a/gitstatus/src/arena.h +++ b/gitstatus/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. |