diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-29 01:04:08 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-29 01:04:08 +0200 |
commit | 814e74948b6b7c0b51547a52ffa804f8ed71c1a7 (patch) | |
tree | 8e92c548edac7abb045543fa17ba67db365adf78 /Include/Python.h | |
parent | 687c3b16f72a6b2b64971c1c27e33e27f001ede8 (diff) | |
download | cpython-814e74948b6b7c0b51547a52ffa804f8ed71c1a7.tar.gz |
Move code related to compile from Python.h to compile.h
Diffstat (limited to 'Include/Python.h')
-rw-r--r-- | Include/Python.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Include/Python.h b/Include/Python.h index 17d3d5ce59..63043f2b9d 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) |