source: git/omalloc/omGetBackTrace.h @ 2b43ac

spielwiese
Last change on this file since 2b43ac was 6ce030f, checked in by Oleksandr Motsak <motsak@…>, 12 years ago
removal of the $Id$ svn tag from everywhere NOTE: the git SHA1 may be used instead (only on special places) NOTE: the libraries Singular/LIB/*.lib still contain the marker due to our current use of svn
  • Property mode set to 100644
File size: 571 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)
11void omInitGetBackTrace();
12int omGetBackTrace(void** bt, int start, int max);
13#else
14#define omInitGetBackTrace() ((void)0)
15#define omGetBackTrace(bt, s, max) (0)
16#endif
17
18#endif
Note: See TracBrowser for help on using the repository browser.