Graphviz 12.0.1~dev.20240716.0800
|
Macros | |
#define | agnew(g, t) ((t *)agalloc(g, sizeof(t))) |
#define | agnnew(g, n, t) ((t *)agalloc(g, (n) * sizeof(t))) |
Functions | |
void * | agalloc (Agraph_t *g, size_t size) |
void * | agrealloc (Agraph_t *g, void *ptr, size_t oldsize, size_t size) |
void | agfree (Agraph_t *g, void *ptr) |
void | aginternalmapclearlocalnames (Agraph_t *g) |
#define agnnew | ( | g, | |
n, | |||
t | |||
) | ((t *)agalloc(g, (n) * sizeof(t))) |
void * agalloc | ( | Agraph_t * | g, |
size_t | size | ||
) |
Definition at line 19 of file mem.c.
References agerrorf(), and NULL.
Referenced by agbindrec(), agmakeattrs(), agnewsym(), agrealloc(), agstrdup_internal(), installnode(), localsubg(), newedge(), newitem(), newitem(), newnode(), push(), and push().
void agfree | ( | Agraph_t * | g, |
void * | ptr | ||
) |
Definition at line 49 of file mem.c.
References free().
Referenced by agclose(), agdeledge(), agdelnode(), agdelrec(), agdictobjfree(), aginternalmapdelete(), agpopdisc(), agrecclose(), delete_items(), delete_items(), free_subnode(), freeattr(), freesym(), pop(), and pop().
void aginternalmapclearlocalnames | ( | Agraph_t * | g | ) |
Definition at line 167 of file imap.c.
References Ag_G_global, aginternalmapdelete(), Agraph_s::clos, dtfirst, dtnext, IMapEntry_s::id, LOCALNAMEPREFIX, Agclos_s::lookup_by_name, and IMapEntry_s::str.
Referenced by endgraph(), and endgraph().