mirror of https://github.com/python/cpython.git
Move #include to outside "extern C {}", before Tim figures out it'll break
VC++.
This commit is contained in:
parent
1f1c16a812
commit
ca82a8b760
|
@ -1,12 +1,13 @@
|
||||||
|
|
||||||
#ifndef Py_COMPILE_H
|
#ifndef Py_COMPILE_H
|
||||||
#define Py_COMPILE_H
|
#define Py_COMPILE_H
|
||||||
|
|
||||||
|
#include "code.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
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