mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Include code.h more sanely.
This commit is contained in:
parent
090b3dde06
commit
e4d3a72ab8
1 changed files with 2 additions and 3 deletions
|
|
@ -1,6 +1,3 @@
|
|||
#ifndef Py_CODE_H
|
||||
#include "code.h"
|
||||
#endif
|
||||
|
||||
#ifndef Py_COMPILE_H
|
||||
#define Py_COMPILE_H
|
||||
|
|
@ -8,6 +5,8 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "code.h"
|
||||
|
||||
/* Public interface */
|
||||
struct _node; /* Declare the existence of this type */
|
||||
PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue