My Project
Loading...
Searching...
No Matches
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__)
12int 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
static int max(int a, int b)
Definition: fast_mult.cc:264
#define omInitGetBackTrace()
#define omGetBackTrace(bt, s, max)