include/create.h File Reference

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

Go to the source code of this file.

Defines

#define Create(a, b, c)
#define MyReCreate(a, b, c)
#define ReCreate(a, b, c)   if (a) { MyReCreate(a,b,c); } else { Create(a,b,c); }
#define Free(a)   if (a) {free(a);a=0;}


Define Documentation

#define Create ( a,
b,
c   ) 

Value:

if (!((a) = ( b * ) calloc(sizeof( b ), c ) )) \
{ printf ("Unable to malloc!\n"); exit(1); }

Definition at line 18 of file create.h.

#define Free (  )     if (a) {free(a);a=0;}

Definition at line 29 of file create.h.

#define MyReCreate ( a,
b,
c   ) 

Value:

if (!((a) = ( b * ) realloc((void *) a, sizeof( b ) * (c) ) )) \
{ printf ("Unable to realloc!\n"); exit(1); }

Definition at line 22 of file create.h.

#define ReCreate ( a,
b,
c   )     if (a) { MyReCreate(a,b,c); } else { Create(a,b,c); }

Definition at line 26 of file create.h.


Generated on Mon May 28 04:25:26 2007 for BattletechMUX by  doxygen 1.4.7