Move cpp_exceptions_helper.cpp to cpp_exceptions_helper.h so it is picked up by sdist.
authorRobert Bradshaw <robertwb@math.washington.edu>
Thu, 5 Nov 2009 18:48:43 +0000 (10:48 -0800)
committerRobert Bradshaw <robertwb@math.washington.edu>
Thu, 5 Nov 2009 18:48:43 +0000 (10:48 -0800)
--HG--
rename : tests/run/cpp_exceptions_helper.cpp => tests/run/cpp_exceptions_helper.h

tests/run/cpp_exceptions.pyx
tests/run/cpp_exceptions_helper.h [moved from tests/run/cpp_exceptions_helper.cpp with 100% similarity]

index 6fa26a9bf764e1997a6fb580ab708334b0fe37cd..e7707a7acf648d2a401919d6286e4b49ad85f61d 100644 (file)
@@ -1,7 +1,7 @@
 cdef int raise_py_error() except *:
     raise TypeError("custom")
 
-cdef extern from "cpp_exceptions_helper.cpp":
+cdef extern from "cpp_exceptions_helper.h":
     cdef int raise_int_raw "raise_int"(bint fire) except +
     cdef int raise_int_value "raise_int"(bint fire) except +ValueError
     cdef int raise_int_custom "raise_int"(bint fire) except +raise_py_error