#include <parse_tree.h>
Public Member Functions | |
| MemPool (unsigned int sz) | |
| ~MemPool () | |
| void * | allocate () |
| void | deallocate (void *b) |
Private Member Functions | |
| void | grow () |
Private Attributes | |
| Chunk * | chunks |
| const unsigned int | esize |
| Link * | head |
Classes | |
| struct | Chunk |
| struct | Link |
Permission to copy, use, modify, sell and distribute this software is granted provided this copyright notice appears in all copies. This software is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.
Permission to modify the code and to distribute modified code is granted, provided the above notices are retained, and a notice that the code was modified is included with the above copyright notice.
Definition at line 185 of file parse_tree.h.
1.4.7