Classes | Defines | Typedefs | Functions | Variables
mem.h File Reference
#include <stdio.h>
Include dependency graph for mem.h:
This graph shows which files directly or indirectly include this file:

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

#define DEFsetT   1

Definition at line 109 of file mem.h.

#define qh_memalloc_ (   insize,
  freelistp,
  object,
  type 
)
Value:
{\
    freelistp= NULL; /* Avoid warnings */ \
    object= (type*)qh_memalloc(insize); }

Definition at line 162 of file mem.h.

#define qh_memfree_ (   object,
  insize,
  freelistp 
)
Value:
{\
    freelistp= NULL; /* Avoid warnings */ \
    qh_memfree(object, insize); }

Definition at line 191 of file mem.h.

#define qh_TRACEshort

Definition at line 46 of file mem.h.

#define qhmem_ERRmem   4 /* matches qh_ERRmem in libqhull.h */

Definition at line 62 of file mem.h.

#define qhmem_ERRqhull   5 /* matches qh_ERRqhull in libqhull.h */

Definition at line 63 of file mem.h.


Typedef Documentation

typedef long ptr_intT

Definition at line 84 of file mem.h.

typedef struct qhmemT qhmemT

Definition at line 105 of file mem.h.

typedef struct setT setT

Definition at line 110 of file mem.h.


Function Documentation

void* qh_memalloc ( int  insize)

Definition at line 111 of file mem.c.

void qh_memfree ( void *  object,
int  insize 
)

Definition at line 212 of file mem.c.

void qh_memfreeshort ( int *  curlong,
int *  totlong 
)

Definition at line 255 of file mem.c.

void qh_meminit ( FILE *  ferr)

Definition at line 283 of file mem.c.

void qh_meminitbuffers ( int  tracelevel,
int  alignment,
int  numsizes,
int  bufsize,
int  bufinit 
)

Definition at line 308 of file mem.c.

void qh_memsetup ( void  )

Definition at line 335 of file mem.c.

void qh_memsize ( int  size)

Definition at line 366 of file mem.c.

void qh_memstatistics ( FILE *  fp)

Definition at line 393 of file mem.c.

void qh_memtotal ( int *  totlong,
int *  curlong,
int *  totshort,
int *  curshort,
int *  maxlong,
int *  totbuffer 
)

Definition at line 535 of file mem.c.


Variable Documentation

Definition at line 60 of file mem.c.



libqhull-ours
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:32:11