Graphviz
2.39.20161002.2149
Main Page
Data Structures
Files
File List
Globals
lib
cgraph
vmstub.h
Go to the documentation of this file.
1
/* $Id$ $Revision$ */
2
/* vim:set shiftwidth=4 ts=8: */
3
4
/*************************************************************************
5
* Copyright (c) 2011 AT&T Intellectual Property
6
* All rights reserved. This program and the accompanying materials
7
* are made available under the terms of the Eclipse Public License v1.0
8
* which accompanies this distribution, and is available at
9
* http://www.eclipse.org/legal/epl-v10.html
10
*
11
* Contributors: See CVS logs. Details at http://www.graphviz.org/
12
*************************************************************************/
13
14
#ifndef _VMSTUB_H
15
#define _VMSTUB_H
16
#include <stdlib.h>
17
#ifdef HAVE_MALLOC_H
18
#include <
malloc.h
>
19
#endif
20
typedef
void
Vmalloc_t
;
21
#define vmalloc(heap,size) malloc(size)
22
#define vmopen(x,y,z) (Vmalloc_t*)(0)
23
#define vmclose(x) while (0)
24
#define vmresize(heap,ptr,size,oktomoveflag) realloc((ptr),(size))
25
#define vmfree(heap,ptr) free(ptr)
26
#ifndef EXTERN
27
#define EXTERN extern
28
#endif
29
EXTERN
void
*
Vmregion
;
30
#endif
malloc.h
Vmalloc_t
void Vmalloc_t
Definition:
vmstub.h:20
EXTERN
#define EXTERN
Definition:
vmstub.h:27
Vmregion
EXTERN void * Vmregion
Definition:
vmstub.h:29
Generated by
1.8.5