home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Reference Guide
/
C-C++ Interactive Reference Guide.iso
/
c_ref
/
csource2
/
sclib_1
/
1_8
/
v7n8076a.txt
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-11-01
|
366 b
|
20 lines
*****Listing 7*****
production version of the code:
getspace.h
#ifdef DEBUG
extern void * getspace(char * where, unsigned size);
extern void freespace(char * where, void * what);
#else
#define getspace(where,size) ((void *)malloc(size))
#define freespace(where,what) free(what)
#endif
**********