From: Robert Bradshaw Date: Thu, 5 Nov 2009 18:48:43 +0000 (-0800) Subject: Move cpp_exceptions_helper.cpp to cpp_exceptions_helper.h so it is picked up by sdist. X-Git-Tag: 0.12.rc0~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0d46fbe9ec9b16ced9ea6ce32b87371fb933f195;p=cython.git Move cpp_exceptions_helper.cpp to cpp_exceptions_helper.h so it is picked up by sdist. --HG-- rename : tests/run/cpp_exceptions_helper.cpp => tests/run/cpp_exceptions_helper.h --- diff --git a/tests/run/cpp_exceptions.pyx b/tests/run/cpp_exceptions.pyx index 6fa26a9b..e7707a7a 100644 --- a/tests/run/cpp_exceptions.pyx +++ b/tests/run/cpp_exceptions.pyx @@ -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 diff --git a/tests/run/cpp_exceptions_helper.cpp b/tests/run/cpp_exceptions_helper.h similarity index 100% rename from tests/run/cpp_exceptions_helper.cpp rename to tests/run/cpp_exceptions_helper.h