convert line ends
[canaan.git] / prj / tech / libsrc / lg / lgalt.h
blob495e0c235d94a5e8e7425930a286f5f2557733d0
1 // LGALT.H Alternate LG header file for those who don't have
2 // the LookingGlass memory allocator & debug system
3 //
4 /*
5 * $Header: r:/prj/lib/src/lg/rcs/lgalt.h 1.3 1993/03/19 18:20:34 rex Exp $
6 * $Log: lgalt.h $
7 * Revision 1.3 1993/03/19 18:20:34 rex
8 * Added RCS header
12 #ifndef LGALT_H
13 #define LGALT_H
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)
30 #define Error(msg)
31 #define WarnUser(msg)
32 #define Warning(msg)
33 #define Spew(src,msg)
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)
42 #define Exit(f_exit)
43 #define SetExitMsg(msg)
45 #endif
47 \x1a