My Project  debian-1:4.1.1-p2+ds-4build3
omGetBackTrace.h
Go to the documentation of this file.
1 /*******************************************************************
2  * File: omGetBackTrace.h
3  * Purpose: routines for getting Backtraces of stack
4  * Author: obachman (Olaf Bachmann)
5  * Created: 11/99
6  *******************************************************************/
7 #ifndef OM_GET_BACKTRACE_H
8 #define OM_GET_BACKTRACE_H
9 
10 #if defined(OM_GET_BACKTRACE_WORKS) && !defined(OM_NDEBUG) && !defined(__OPTIMIZE__)
11 void omInitGetBackTrace();
12 int omGetBackTrace(void** bt, int start, int max);
13 #else
14 #define omInitGetBackTrace() do {} while (0)
15 #define omGetBackTrace(bt, s, max) (0)
16 #endif
17 
18 #endif
omInitGetBackTrace
#define omInitGetBackTrace()
Definition: omGetBackTrace.h:14
omGetBackTrace
#define omGetBackTrace(bt, s, max)
Definition: omGetBackTrace.h:15
max
static int max(int a, int b)
Definition: fast_mult.cc:264