These are supported by all recent compilers.
* Contributors: Details at http://www.graphviz.org/
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef _VMALLOC_H
-#define _VMALLOC_H 1
-
/* Public header file for the virtual malloc package.
**
** Written by Kiem-Phong Vo, kpv@research.att.com, 01/16/94.
#define vmfree(vm,d) (*(_VM_(vm)->meth.freef))((vm),(void*)(d))
#endif
#define vmnewof(v,p,t,n,x) (t*)vmresize((v), (p), sizeof(t)*(n)+(x))
-#endif /* _VMALLOC_H */
#ifdef __cplusplus
}
#endif
* Contributors: Details at http://www.graphviz.org/
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef _VMHDR_H
-#define _VMHDR_H 1
-
/* Common types, and macros for vmalloc functions.
**
** Written by Kiem-Phong Vo, kpv@research.att.com, 01/16/94.
int bestfree(Vmalloc_t * vm, void * data);
void *bestresize(Vmalloc_t * vm, void * data, size_t size);
-#endif /* _VMHDR_H */
#ifdef __cplusplus
}
#endif