mem.h File Reference
#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 |
#define | qhmem_ERRqhull 5 |
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
#define qh_memalloc_ |
( |
insize, |
|
|
freelistp, |
|
|
object, |
|
|
type |
|
) |
|
Value:
Definition at line 167 of file mem.h.
#define qh_memfree_ |
( |
object, |
|
|
insize, |
|
|
freelistp |
|
) |
|
Value:
Definition at line 196 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_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 | |
|
) |
| | |
Variable Documentation
Definition at line 60 of file mem.c.