source: git/omalloc/omGetBackTrace.h @ 8627ad

spielwiese
Last change on this file since 8627ad was 13fe1b, checked in by Hans Schönemann <hannes@…>, 23 years ago
*hannes: DecAlpha-ccc-port git-svn-id: file:///usr/local/Singular/svn/trunk@5409 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 647 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 *  Version: $Id: omGetBackTrace.h,v 1.5 2001-04-30 09:02:07 Singular Exp $
7 *******************************************************************/
8#ifndef OM_GET_BACKTRACE_H
9#define OM_GET_BACKTRACE_H
10
11#if defined(OM_GET_BACKTRACE_WORKS) && !defined(OM_NDEBUG)
12void omInitGetBackTrace();
13int omGetBackTrace(void** bt, int start, int max);
14#else
15#define omInitGetBackTrace() ((void)0)
16#define omGetBackTrace(bt, s, max) (0)
17#endif
18
19#endif
Note: See TracBrowser for help on using the repository browser.