Files
mercury/runtime/mercury_imp.h
Fergus Henderson 7a62809cfd Move some more #defines that were there just for backwards
Estimated hours taken: 1

runtime/mercury_bootstrap.h:
runtime/mercury_stacks.h:
	Move some more #defines that were there just for backwards
	compatibility into mercury_bootstrap.h.

runtime/mercury_imp.h:
runtime/mercury_bootstrap.h:
	Put the #include of "mercury_bootstrap.h" last rather than first,
	since the macros defined in mercury_bootstrap.h should not be
	used in other header files.

runtime/mercury_accurate_gc.c:
runtime/mercury_agc_debug.c:
runtime/mercury_context.h:
runtime/mercury_context.c:
runtime/mercury_misc.c:
runtime/mercury_type_info.c:
	Use the new macros instead of the old ones that have now been
	moved to "mercury_bootstrap.h".
1998-11-11 02:14:19 +00:00

82 lines
2.1 KiB
C

/*
** Copyright (C) 1993-1998 The University of Melbourne.
** This file may only be copied under the terms of the GNU Library General
** Public License - see the file COPYING.LIB in the Mercury distribution.
*/
/*
** mercury_imp.h - defines the interface to the Mercury abstract machine.
**
** IMPORTANT: this must be the *first* header file that is #included.
** It must come before any system header files. This is because on some
** systems, the system header files include inline functions, and this
** causes problems when using global register variables, as gcc requires
** global register variable declarations to precede any function definitions.
**
** This file just #includes most of the other Mercury runtime header files.
*/
#ifndef MERCURY_IMP_H
#define MERCURY_IMP_H
/*
** The #include of "mercury_conf.h" must come before the `#ifdef USE_DLLS',
** because mercury_conf.h defines the USE_DLLS macro.
*/
#include "mercury_conf.h"
/*
** The following must come before any declarations of or use of
** global variables. This is necessary to support DLLs on Windows.
** Note: `libmer_dll.h' is automatically generated by `Makefile.DLLs'.
*/
#ifdef USE_DLLS
#include "libmer_dll.h"
#endif
#include "mercury_regs.h" /* must come before system headers */
#include "mercury_std.h"
#include "mercury_debug.h"
#include "mercury_types.h"
#include "mercury_library_types.h"
#include "mercury_string.h"
#include "mercury_float.h"
#include "mercury_stack_trace.h"
#include "mercury_accurate_gc.h"
#include "mercury_stack_layout.h"
#include "mercury_tags.h"
#include "mercury_goto.h"
#include "mercury_calls.h"
#include "mercury_engine.h"
#include "mercury_memory.h"
#include "mercury_heap.h"
#include "mercury_stacks.h"
#include "mercury_overflow.h"
#include "mercury_label.h"
#include "mercury_wrapper.h"
#include "mercury_engine.h"
#include "mercury_context.h"
#include "mercury_thread.h"
#include "mercury_type_info.h"
#ifdef MR_USE_TRAIL
#include "mercury_trail.h"
#endif
#include "mercury_prof.h"
#include "mercury_misc.h"
#include "mercury_tabling.h"
#include "mercury_grade.h"
#include "mercury_bootstrap.h"
#endif /* not MERCURY_IMP_H */