fieker-DuValspielwiese
Last change
on this file since c90b43 was
35aab3,
checked in by Hans Schönemann <hannes@…>, 21 years ago
|
This commit was generated by cvs2svn to compensate for changes in r6879,
which included commits to RCS files with non-trunk default branches.
git-svn-id: file:///usr/local/Singular/svn/trunk@6880 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
891 bytes
|
Rev | Line | |
---|
[35aab3] | 1 | /**************************************** |
---|
| 2 | * Computer Algebra System SINGULAR * |
---|
| 3 | ****************************************/ |
---|
| 4 | /*************************************************************** |
---|
| 5 | * File: dError.h |
---|
| 6 | * Purpose: declaration for debug error handling |
---|
| 7 | * Author: obachman (Olaf Bachmann) |
---|
| 8 | * Created: 9/00 |
---|
| 9 | * Version: $Id: dError.h,v 1.1.1.1 2003-10-06 12:15:51 Singular Exp $ |
---|
| 10 | *******************************************************************/ |
---|
| 11 | #ifndef DERROR_H |
---|
| 12 | #define DERROR_H |
---|
| 13 | |
---|
| 14 | #ifdef __cplusplus |
---|
| 15 | extern "C" |
---|
| 16 | { |
---|
| 17 | #endif |
---|
| 18 | extern int dReportError(const char* fmt, ...); |
---|
| 19 | #define dReportBug(s) \ |
---|
| 20 | dReportError("Bug reported: %s\n occured at %s,%d\n", s, __FILE__, __LINE__) |
---|
| 21 | #endif |
---|
| 22 | |
---|
| 23 | // this is just a dummy procedure which is called after the error |
---|
| 24 | // has been reported. Within the debugger, set a breakpoint on this |
---|
| 25 | // proc. |
---|
| 26 | extern void dErrorBreak(); |
---|
| 27 | #ifdef __cplusplus |
---|
| 28 | } |
---|
| 29 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.