mirror of https://github.com/python/cpython
Fix a bunch of imports to use code.h instead of compile.h.
Remove duplicate declarations from compile.h
This commit is contained in:
parent
0f00ba8bd8
commit
ec97a28b60
|
@ -11,11 +11,6 @@ extern "C" {
|
|||
/* Public interface */
|
||||
struct _node; /* Declare the existence of this type */
|
||||
PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *);
|
||||
PyAPI_FUNC(PyCodeObject *) PyCode_New(
|
||||
int, int, int, int, PyObject *, PyObject *, PyObject *, PyObject *,
|
||||
PyObject *, PyObject *, PyObject *, PyObject *, int, PyObject *);
|
||||
/* same as struct above */
|
||||
PyAPI_FUNC(int) PyCode_Addr2Line(PyCodeObject *, int);
|
||||
|
||||
/* Future feature support */
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
#include "Python.h"
|
||||
#include "code.h"
|
||||
#include "compile.h"
|
||||
#include "eval.h"
|
||||
#include "frameobject.h"
|
||||
#include "structmember.h"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "Python.h"
|
||||
#include "osdefs.h"
|
||||
#include "compile.h" /* For CO_FUTURE_DIVISION */
|
||||
#include "code.h" /* For CO_FUTURE_DIVISION */
|
||||
#include "import.h"
|
||||
|
||||
#ifdef __VMS
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include "Python.h"
|
||||
#include <ctype.h>
|
||||
|
||||
#include "compile.h"
|
||||
#include "frameobject.h"
|
||||
#include "expat.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
#include "structmember.h"
|
||||
#include "osdefs.h"
|
||||
#include "marshal.h"
|
||||
#include "compile.h"
|
||||
#include <time.h>
|
||||
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
#include "Python.h"
|
||||
|
||||
#include "code.h"
|
||||
#include "compile.h"
|
||||
#include "frameobject.h"
|
||||
#include "opcode.h"
|
||||
#include "structmember.h"
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
#include "node.h"
|
||||
#include "code.h"
|
||||
#include "compile.h"
|
||||
#include "eval.h"
|
||||
|
||||
#include <ctype.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include "Python.h"
|
||||
#include "longintrepr.h"
|
||||
#include "code.h"
|
||||
#include "compile.h"
|
||||
#include "marshal.h"
|
||||
|
||||
/* High water mark to determine when the marshalled object is dangerously deep
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include "Python.h"
|
||||
#include "Python-ast.h"
|
||||
#include "code.h"
|
||||
#include "compile.h"
|
||||
#include "symtable.h"
|
||||
#include "structmember.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue