#include <stdio.h>
Go to the source code of this file.
Classes |
struct | qhmemT |
Defines |
#define | DEFsetT 1 |
#define | qh_memalloc_(insize, freelistp, object, type) |
#define | qh_memfree_(object, insize, freelistp) |
#define | qh_TRACEshort |
#define | qhmem_ERRmem 4 /* matches qh_ERRmem in libqhull.h */ |
#define | qhmem_ERRqhull 5 /* matches qh_ERRqhull in libqhull.h */ |
Typedefs |
typedef long | ptr_intT |
typedef struct qhmemT | qhmemT |
typedef struct setT | setT |
Functions |
void * | qh_memalloc (int insize) |
void | qh_memfree (void *object, int insize) |
void | qh_memfreeshort (int *curlong, int *totlong) |
void | qh_meminit (FILE *ferr) |
void | qh_meminitbuffers (int tracelevel, int alignment, int numsizes, int bufsize, int bufinit) |
void | qh_memsetup (void) |
void | qh_memsize (int size) |
void | qh_memstatistics (FILE *fp) |
void | qh_memtotal (int *totlong, int *curlong, int *totshort, int *curshort, int *maxlong, int *totbuffer) |
Variables |
qhmemT | qhmem |
Define Documentation
Value:{\
freelistp= NULL; \
object= (type*)qh_memalloc(insize); }
Definition at line 162 of file mem.h.
Value:{\
freelistp= NULL; \
qh_memfree(object, insize); }
Definition at line 191 of file mem.h.
Definition at line 46 of file mem.h.
Definition at line 62 of file mem.h.
Definition at line 63 of file mem.h.
Typedef Documentation
Definition at line 84 of file mem.h.
Function Documentation
void qh_meminitbuffers |
( |
int |
tracelevel, |
|
|
int |
alignment, |
|
|
int |
numsizes, |
|
|
int |
bufsize, |
|
|
int |
bufinit |
|
) |
| |
void qh_memtotal |
( |
int * |
totlong, |
|
|
int * |
curlong, |
|
|
int * |
totshort, |
|
|
int * |
curshort, |
|
|
int * |
maxlong, |
|
|
int * |
totbuffer |
|
) |
| |
Variable Documentation
Definition at line 60 of file mem.c.