docs/src/features.md

changeset 727
d92a59f5d261
parent 725
c9b882bef838
child 729
600d72644919
equal deleted inserted replaced
726:44986c0e2b05 727:d92a59f5d261
28 28
29 ```c 29 ```c
30 struct my_allocator_state { 30 struct my_allocator_state {
31 size_t total; 31 size_t total;
32 size_t avail; 32 size_t avail;
33 char[] mem; 33 char mem[];
34 }; 34 };
35 35
36 static cx_allocator_class my_allocator_class = { 36 static cx_allocator_class my_allocator_class = {
37 my_malloc_impl, 37 my_malloc_impl,
38 my_realloc_impl, // all these functions are somewhere defined 38 my_realloc_impl, // all these functions are somewhere defined
88 Please refer to the API doc for the fields prefixed with `flush_` to learn more. 88 Please refer to the API doc for the fields prefixed with `flush_` to learn more.
89 89
90 ## Memory Pool 90 ## Memory Pool
91 91
92 *Header file:* [mempool.h](api/mempool_8h.html) 92 *Header file:* [mempool.h](api/mempool_8h.html)
93
94 ### Basic Memory Pool
95
96 *Header file:* [basic_mempool.h](api/basic__mempool_8h.html)
97 93
98 ## Iterator 94 ## Iterator
99 95
100 *Header file:* [iterator.h](api/iterator_8h.html) 96 *Header file:* [iterator.h](api/iterator_8h.html)
101 97

mercurial