|
Verilog Parser
|
Contains definitions of datastructures and functions for helping to manage dynamic memory allocation within the library. More...
#include "verilog_ast_mem.h"Functions | |
| void * | ast_calloc (size_t num, size_t size) |
| A simple wrapper around calloc. More... | |
| void | ast_free_all () |
| Frees all memory allocated using ast_calloc. More... | |
| char * | ast_strdup (char *in) |
| Duplicates the supplied null terminated string. | |
Variables | |
| unsigned int | memory_allocations = 0 |
| The total number of memory allocations made. | |
| ast_memory * | memory_head = NULL |
| Head of the linked list of allocated memory. | |
| size_t | total_allocated = 0 |
| The total number of bytes ever allocated using ast_alloc. | |
| ast_memory * | walker = NULL |
| Walker for the linked list of allocated memory. | |
Contains definitions of datastructures and functions for helping to manage dynamic memory allocation within the library.