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)
44
extern
"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
*/
INTERNAL_ERROR
void INTERNAL_ERROR(const char *s,...)
Definition
error.c:36
error_message
const char * error_message()
Definition
error.c:49
error
int error()
Definition
error.c:48
s
void size_t s
Definition
m2-mem.cpp:271
ERROR
const int ERROR
Definition
m2-mem.cpp:55
Macaulay2
e
error.h
Generated on
for Macaulay2 Engine by
1.15.0