1 // LGALT.H Alternate LG header file for those who don't have
2 // the LookingGlass memory allocator & debug system
5 * $Header: r:/prj/lib/src/lg/rcs/lgalt.h 1.3 1993/03/19 18:20:34 rex Exp $
7 * Revision 1.3 1993/03/19 18:20:34 rex
15 // Replaces memory allocator
17 #define MemSetAllocator(m,r,f)
18 #define MemPushAllocator(m,r,f)
19 #define MemPopAllocator()
20 #define Malloc(size) malloc(size)
21 #define Realloc(p,size) realloc(p,size)
22 #define Free(p) free(p)
24 // Replaces debug system, don't forget to create Ignore() function
25 // if you have Error, WarnUser, Warning, or Spew
27 #define DBGSRC(bank,bits) (0)
28 #define DBG(src,statements)
29 #define DBGBANK(src) (0)
34 #define DbgSetLogPath(path)
35 #define DbgSetLogFile(src,fname)
36 #define DbgMonoConfig()
37 #define DbgAddConfigPath(path)
38 #define DbgLoadConfig(fname)
39 #define DbgSaveConfig(fname)
41 #define Exit(msg,errcode) exit(errcode)
43 #define SetExitMsg(msg)