spielwiese
Last change
on this file since 3b7b36 was
e1189c,
checked in by Hans Schoenemann <hannes@…>, 10 years ago
|
chg: disable omInitGetBackTrace/omGetBackTrace if __OPTIMIZE__ is defined
|
-
Property mode set to
100644
|
File size:
603 bytes
|
Line | |
---|
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 |
---|
Note: See
TracBrowser
for help on using the repository browser.