/opt/ros/diamondback/stacks/graspit_simulator/graspit/graspit_source/qhull/mem.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  qhmemT

Defines

#define qh_memalloc_(size, freelistp, object, type)
#define qh_memfree_(object, size, freelistp)
#define qhmem_ERRmem   4
#define qhmem_ERRqhull   5

Typedefs

typedef unsigned long ptr_intT
typedef struct qhmemT qhmemT

Functions

void * qh_memalloc (int insize)
void qh_memfree (void *object, int size)
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)

Variables

qhmemT qhmem

Define Documentation

#define qh_memalloc_ ( size,
freelistp,
object,
type   ) 
Value:
{\
  freelistp= qhmem.freelists + qhmem.indextable[size];\
  if ((object= (type*)*freelistp)) {\
    qhmem.cntquick++;  \
    *freelistp= *((void **)*freelistp);\
  }else object= (type*)qh_memalloc (size);}

Definition at line 131 of file mem.h.

#define qh_memfree_ ( object,
size,
freelistp   ) 
Value:
{\
  if (object) { \
    qhmem .freeshort++;\
    freelistp= qhmem.freelists + qhmem.indextable[size];\
    *((void **)object)= *freelistp;\
    *freelistp= object;}}

Definition at line 154 of file mem.h.

#define qhmem_ERRmem   4

Definition at line 49 of file mem.h.

#define qhmem_ERRqhull   5

Definition at line 50 of file mem.h.


Typedef Documentation

typedef unsigned long ptr_intT

Definition at line 62 of file mem.h.

typedef struct qhmemT qhmemT

Definition at line 82 of file mem.h.


Function Documentation

void* qh_memalloc ( int  insize  ) 

Definition at line 103 of file mem.c.

void qh_memfree ( void *  object,
int  size 
)

Definition at line 181 of file mem.c.

void qh_memfreeshort ( int *  curlong,
int *  totlong 
)

Definition at line 210 of file mem.c.

void qh_meminit ( FILE *  ferr  ) 

Definition at line 235 of file mem.c.

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

Definition at line 256 of file mem.c.

void qh_memsetup ( void   ) 

Definition at line 283 of file mem.c.

void qh_memsize ( int  size  ) 

Definition at line 314 of file mem.c.

void qh_memstatistics ( FILE *  fp  ) 

Definition at line 342 of file mem.c.


Variable Documentation

Definition at line 54 of file mem.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


graspit
Author(s):
autogenerated on Wed Jan 25 10:59:21 2012