Macaulay2 Engine
Loading...
Searching...
No Matches
engine-includes.hpp
Go to the documentation of this file.
1// Copyright 2012 Michael E. Stillman
2// file to be included by all cpp files in the engine
3// what about c files?
4
5#ifndef __engine_includes_hpp__
6#define __engine_includes_hpp__
7
37
38// IWYU pragma: begin_exports
39
40#include <M2/config.h>
41
42#if !defined(SAFEC_EXPORTS)
43//#include <engine-exports.h>
44#include "interface/m2-types.h"
45#endif
46
47#if HAVE_STDINT_H
48#if !defined(__STDC_LIMIT_MACROS)
49#define __STDC_LIMIT_MACROS
50#endif
51#include <stdint.h>
52#elif HAVE_INTTYPES_H
53#include <inttypes.h>
54#else
55#error integer type definitions not available
56#endif
57
58#ifndef __cplusplus /* These are coming from newdelete.hpp, in C++ */
59#include <M2/gc-include.h>
60//#include "../d/M2mem.h"
61//#include "../d/debug.h"
62#endif
63
64// IWYU pragma: end_exports
65
66#endif
67
68// Local Variables:
69// compile-command: "make -C $M2BUILDDIR/Macaulay2/e "
70// indent-tabs-mode: nil
71// End:
Engine-to-interpreter type vocabulary across the C++ / .dd boundary.