Accessing the internals of the allocator via Cgraph is no longer supported.
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
+- Cgraph's agheap() API has been removed
## [2.44.1] - 2020-06-29
CGRAPH_API void *agrealloc(Agraph_t * g, void *ptr, size_t oldsize,
size_t size);
CGRAPH_API void agfree(Agraph_t * g, void *ptr);
-CGRAPH_API struct _vmalloc_s *agheap(Agraph_t * g);
/* an engineering compromise is a joy forever */
CGRAPH_API void aginternalmapclearlocalnames(Agraph_t * g);
if (ptr)
(AGDISC(g, mem)->free) (AGCLOS(g, mem), ptr);
}
-
-#ifndef _VMALLOC_H
-struct _vmalloc_s {
- char unused;
-};
-#endif
-struct _vmalloc_s *agheap(Agraph_t * g)
-{
- return AGCLOS(g, mem);
-}