Include code.h more sanely.
This commit is contained in:
parent
090b3dde06
commit
e4d3a72ab8
|
@ -1,6 +1,3 @@
|
||||||
#ifndef Py_CODE_H
|
|
||||||
#include "code.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef Py_COMPILE_H
|
#ifndef Py_COMPILE_H
|
||||||
#define Py_COMPILE_H
|
#define Py_COMPILE_H
|
||||||
|
@ -8,6 +5,8 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "code.h"
|
||||||
|
|
||||||
/* Public interface */
|
/* Public interface */
|
||||||
struct _node; /* Declare the existence of this type */
|
struct _node; /* Declare the existence of this type */
|
||||||
PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *);
|
PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *);
|
||||||
|
|
Loading…
Reference in New Issue