Include code.h more sanely.

This commit is contained in:
Thomas Wouters 2006-02-28 22:40:55 +00:00
parent 090b3dde06
commit e4d3a72ab8
1 changed files with 2 additions and 3 deletions

View File

@ -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 *);