Classes | Macros | 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
 

Macros

#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_memcheck (void)
 
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
 

Macro Definition Documentation

◆ DEFsetT

#define DEFsetT   1

Definition at line 111 of file mem.h.

◆ qh_memalloc_

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

Definition at line 164 of file mem.h.

◆ qh_memfree_

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

Definition at line 193 of file mem.h.

◆ qh_TRACEshort

#define qh_TRACEshort

Definition at line 46 of file mem.h.

◆ qhmem_ERRmem

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

Definition at line 62 of file mem.h.

◆ qhmem_ERRqhull

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

Definition at line 63 of file mem.h.

Typedef Documentation

◆ ptr_intT

typedef long ptr_intT

Definition at line 86 of file mem.h.

◆ qhmemT

typedef struct qhmemT qhmemT

Definition at line 107 of file mem.h.

◆ setT

typedef struct setT setT

Definition at line 112 of file mem.h.

Function Documentation

◆ qh_memalloc()

void* qh_memalloc ( int  insize)

Definition at line 115 of file mem.c.

◆ qh_memcheck()

void qh_memcheck ( void  )

Definition at line 203 of file mem.c.

◆ qh_memfree()

void qh_memfree ( void *  object,
int  insize 
)

Definition at line 245 of file mem.c.

◆ qh_memfreeshort()

void qh_memfreeshort ( int *  curlong,
int *  totlong 
)

Definition at line 288 of file mem.c.

◆ qh_meminit()

void qh_meminit ( FILE *  ferr)

Definition at line 317 of file mem.c.

◆ qh_meminitbuffers()

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

Definition at line 346 of file mem.c.

◆ qh_memsetup()

void qh_memsetup ( void  )

Definition at line 373 of file mem.c.

◆ qh_memsize()

void qh_memsize ( int  size)

Definition at line 404 of file mem.c.

◆ qh_memstatistics()

void qh_memstatistics ( FILE *  fp)

Definition at line 431 of file mem.c.

◆ qh_memtotal()

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

Definition at line 568 of file mem.c.

Variable Documentation

◆ qhmem

qhmemT qhmem

Definition at line 62 of file mem.c.

doxygen_xml_parser.type
type
Definition: doxygen_xml_parser.py:882
qh_memalloc
void * qh_memalloc(int insize)
Definition: mem.c:115


hpp-fcl
Author(s):
autogenerated on Fri Jan 26 2024 03:46:15