home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
400-499
/
ff473.lzh
/
CNewsSrc
/
cnews_src.lzh
/
include
/
alloc.h
next >
Wrap
C/C++ Source or Header
|
1990-12-22
|
742b
|
26 lines
#ifndef ALLOC_H
#define ALLOC_H
#ifndef notdef
# ifdef AMIGA
# include <stdlib.h>
extern char *emalloc(), *nemalloc(), *strsave(), *str3save();
# else
extern char *malloc(), *realloc(), *emalloc();
extern char *nemalloc(), *strsave(), *str3save();
# endif /* AMIGA */
#else /* notdef */
/* setup for UT debugging malloc */
# define MALLOC_TRACE
# define TRACE
# include "malloc.h" /* defines CSRIMALLOC */
extern char *_nemalloc(), *_strsave(), *_str3save();
# define nemalloc(x) _nemalloc((x), __FILE__, __LINE__)
# define strsave(x) _strsave((x), __FILE__, __LINE__) /* TODO: conflict with malloc.h; fix */
# define str3save(x, y, z) _str3save((x), y, z, __FILE__, __LINE__)
# endif /* notdef */
#endif /* ALLOC_H */