Fix #191
authorDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Thu, 25 Jun 2009 17:37:01 +0000 (19:37 +0200)
committerDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Thu, 25 Jun 2009 17:37:01 +0000 (19:37 +0200)
Cython/Includes/python_version.pxd
tests/compile/shipped_pxds.pyx [new file with mode: 0644]

index 0e839704887884ae4c2157af786904ab194df210..e5aee0fb5e6c8c7d0acfffb459a0173fe3711f14 100644 (file)
@@ -28,5 +28,5 @@ cdef extern from *:
     #    0xC (release candidate)
     #    0xF (final)
 
-    char[] PY_VERSION
-    char[] PY_PATCHLEVEL_REVISION
+    char PY_VERSION[]
+    char PY_PATCHLEVEL_REVISION[]
diff --git a/tests/compile/shipped_pxds.pyx b/tests/compile/shipped_pxds.pyx
new file mode 100644 (file)
index 0000000..711484a
--- /dev/null
@@ -0,0 +1,30 @@
+cimport python_bool
+cimport python_buffer
+cimport python_complex
+cimport python_dict
+cimport python_exc
+cimport python_float
+cimport python_function
+cimport python_instance
+cimport python_int
+cimport python_iterator
+cimport python_list
+cimport python_long
+cimport python_mapping
+cimport python_mem
+cimport python_method
+cimport python_module
+cimport python_number
+cimport python_object
+cimport python_parse
+cimport python
+cimport python_ref
+cimport python_sequence
+cimport python_set
+cimport python_string
+cimport python_tuple
+cimport python_type
+cimport python_unicode
+cimport python_version
+cimport stdio
+cimport stdlib