aboutsummaryrefslogtreecommitdiff
blob: 490ac718a5a81306cfcc7ecbd0ce65dce269cbbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/************************************************************/
/***  C header file for code produced by genc.py          ***/

#ifndef PYPY_STANDALONE
#  include "Python.h"
#  include "compile.h"
#  include "frameobject.h"
#  include "structmember.h"
#  include "traceback.h"
#  include "marshal.h"
#  include "eval.h"
#else
#  include <stdlib.h>
#  include <assert.h>
#  include <math.h>
#endif

#include "src/mem.h"
#include "src/exception.h"
#include "src/support.h"
#ifndef PY_LONG_LONG
#define PY_LONG_LONG long long
#endif

#ifndef PYPY_STANDALONE
#  include "src/pyobj.h"
#endif

#include "src/int.h"
#include "src/char.h"
#include "src/float.h"
#include "src/address.h"
#ifndef AVR
#include "src/unichar.h"
#endif
#include "src/llgroup.h"

#include "src/instrument.h"

/* optional assembler bits */
// disabled: does not give any speed-up
//#if defined(__GNUC__) && defined(__i386__)
//#  include "src/asm_gcc_x86.h"
//#endif

#if defined(__GNUC__) && defined(__ppc__)
#  include "src/asm_ppc.h"
#endif


/*** modules ***/
#ifdef HAVE_RTYPER      /* only if we have an RTyper */
#  include "src/rtyper.h"
#  include "src/debug_print.h"
#  include "src/debug_traceback.h"
#  include "src/debug_alloc.h"
#ifndef AVR
#  include "src/ll_os.h"
#  include "src/ll_strtod.h"
#endif
#endif

#ifdef PYPY_STANDALONE
#  include "src/allocator.h"
#  include "src/main.h"
#endif

/* suppress a few warnings in the generated code */
#ifdef MS_WINDOWS
#  ifdef _MSC_VER
#    pragma warning(disable: 4033 4102 4101 4716)
#  endif
#endif