Classes | Macros | Typedefs | Functions
mem_r.h File Reference
#include <stdio.h>
Include dependency graph for mem_r.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 DEFqhT   1
 
#define DEFsetT   1
 
#define qh_memalloc_(qh, insize, freelistp, object, type)
 
#define qh_memfree_(qh, object, insize, freelistp)
 
#define qh_TRACEshort
 
#define qhmem_ERRmem   4 /* matches qh_ERRmem in libqhull_r.h */
 
#define qhmem_ERRqhull   5 /* matches qh_ERRqhull in libqhull_r.h */
 

Typedefs

typedef long ptr_intT
 
typedef struct qhmemT qhmemT
 
typedef struct qhT qhT
 
typedef struct setT setT
 

Functions

void * qh_memalloc (qhT *qh, int insize)
 
void qh_memcheck (qhT *qh)
 
void qh_memfree (qhT *qh, void *object, int insize)
 
void qh_memfreeshort (qhT *qh, int *curlong, int *totlong)
 
void qh_meminit (qhT *qh, FILE *ferr)
 
void qh_meminitbuffers (qhT *qh, int tracelevel, int alignment, int numsizes, int bufsize, int bufinit)
 
void qh_memsetup (qhT *qh)
 
void qh_memsize (qhT *qh, int size)
 
void qh_memstatistics (qhT *qh, FILE *fp)
 
void qh_memtotal (qhT *qh, int *totlong, int *curlong, int *totshort, int *curshort, int *maxlong, int *totbuffer)
 

Macro Definition Documentation

◆ DEFqhT

#define DEFqhT   1

Definition at line 30 of file mem_r.h.

◆ DEFsetT

#define DEFsetT   1

Definition at line 25 of file mem_r.h.

◆ qh_memalloc_

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

Definition at line 168 of file mem_r.h.

◆ qh_memfree_

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

Definition at line 197 of file mem_r.h.

◆ qh_TRACEshort

#define qh_TRACEshort

Definition at line 56 of file mem_r.h.

◆ qhmem_ERRmem

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

Definition at line 72 of file mem_r.h.

◆ qhmem_ERRqhull

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

Definition at line 73 of file mem_r.h.

Typedef Documentation

◆ ptr_intT

typedef long ptr_intT

Definition at line 96 of file mem_r.h.

◆ qhmemT

typedef struct qhmemT qhmemT

Definition at line 117 of file mem_r.h.

◆ qhT

typedef struct qhT qhT

Definition at line 31 of file mem_r.h.

◆ setT

typedef struct setT setT

Definition at line 26 of file mem_r.h.

Function Documentation

◆ qh_memalloc()

void* qh_memalloc ( qhT qh,
int  insize 
)

Definition at line 92 of file mem_r.c.

◆ qh_memcheck()

void qh_memcheck ( qhT qh)

Definition at line 180 of file mem_r.c.

◆ qh_memfree()

void qh_memfree ( qhT qh,
void *  object,
int  insize 
)

Definition at line 226 of file mem_r.c.

◆ qh_memfreeshort()

void qh_memfreeshort ( qhT qh,
int *  curlong,
int *  totlong 
)

Definition at line 274 of file mem_r.c.

◆ qh_meminit()

void qh_meminit ( qhT qh,
FILE *  ferr 
)

Definition at line 303 of file mem_r.c.

◆ qh_meminitbuffers()

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

Definition at line 332 of file mem_r.c.

◆ qh_memsetup()

void qh_memsetup ( qhT qh)

Definition at line 359 of file mem_r.c.

◆ qh_memsize()

void qh_memsize ( qhT qh,
int  size 
)

Definition at line 390 of file mem_r.c.

◆ qh_memstatistics()

void qh_memstatistics ( qhT qh,
FILE *  fp 
)

Definition at line 417 of file mem_r.c.

◆ qh_memtotal()

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

Definition at line 554 of file mem_r.c.

doxygen_xml_parser.type
type
Definition: doxygen_xml_parser.py:885
qh
#define qh
Definition: libqhull.h:457
qh_memalloc
void * qh_memalloc(qhT *qh, int insize)
Definition: mem_r.c:92


hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:59