Macaulay2 Engine
Loading...
Searching...
No Matches
error.h
Go to the documentation of this file.
1// (c) 1997 Michael E. Stillman
2
3#ifndef _error_h_
4#define _error_h_
5
42
43#if defined(__cplusplus)
44extern "C" {
45#endif
46
47 // under mingw32 an include file defines ERROR as 0
48 #undef ERROR
49
50 void ERROR(const char *s,...);
51 void INTERNAL_ERROR(const char *s, ...); /* Exits the program with an error code */
52 int error(); /* returns 0 for false, 1 for true */
53 const char *error_message();
54
55#if defined(__cplusplus)
56}
57#endif
58
59#endif
60
61/*
62// Local Variables:
63// compile-command: "make -C $M2BUILDDIR/Macaulay2/e "
64// indent-tabs-mode: nil
65// End:
66*/
void INTERNAL_ERROR(const char *s,...)
Definition error.c:36
const char * error_message()
Definition error.c:49
int error()
Definition error.c:48
void size_t s
Definition m2-mem.cpp:271
const int ERROR
Definition m2-mem.cpp:55