summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-09-28 23:04:08 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-09-28 23:04:08 (GMT)
commit2bdc7f591b729c7c0351f92a80d090e41a7cea49 (patch)
tree60fe7bdd2d557811070c9e397eae99b4fbf65324 /Include/Python.h
parent639418812f11749f99d1160b26325bdfa3a26a6f (diff)
downloadcpython-2bdc7f591b729c7c0351f92a80d090e41a7cea49.zip
cpython-2bdc7f591b729c7c0351f92a80d090e41a7cea49.tar.gz
cpython-2bdc7f591b729c7c0351f92a80d090e41a7cea49.tar.bz2
Move code related to compile from Python.h to compile.h
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 17d3d5c..63043f2 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -127,30 +127,11 @@
#include "dtoa.h"
#include "fileutils.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* _Py_Mangle is defined in compile.c */
-#ifndef Py_LIMITED_API
-PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name);
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-
/* Argument must be a char or an int in [-128, 127] or [0, 255]. */
#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
#include "pyfpe.h"
-/* These definitions must match corresponding definitions in graminit.h.
- There's code in compile.c that checks that they are the same. */
-#define Py_single_input 256
-#define Py_file_input 257
-#define Py_eval_input 258
-
/* Define macros for inline documentation. */
#define PyDoc_VAR(name) static char name[]
#define PyDoc_STRVAR(name,str) PyDoc_VAR(name) = PyDoc_STR(str)