[Python-checkins] r42699 - python/trunk/Include/compile.h

thomas.wouters python-checkins at python.org
Wed Mar 1 00:09:09 CET 2006


Author: thomas.wouters
Date: Wed Mar  1 00:09:08 2006
New Revision: 42699

Modified:
   python/trunk/Include/compile.h
Log:

Move #include to outside "extern C {}", before Tim figures out it'll break
VC++.



Modified: python/trunk/Include/compile.h
==============================================================================
--- python/trunk/Include/compile.h	(original)
+++ python/trunk/Include/compile.h	Wed Mar  1 00:09:08 2006
@@ -1,12 +1,13 @@
 
 #ifndef Py_COMPILE_H
 #define Py_COMPILE_H
+
+#include "code.h"
+
 #ifdef __cplusplus
 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 *);


More information about the Python-checkins mailing list