Commit 0d46fbe9 authored by Robert Bradshaw's avatar Robert Bradshaw

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
parent 82b7356d
cdef int raise_py_error() except *: cdef int raise_py_error() except *:
raise TypeError("custom") 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_raw "raise_int"(bint fire) except +
cdef int raise_int_value "raise_int"(bint fire) except +ValueError cdef int raise_int_value "raise_int"(bint fire) except +ValueError
cdef int raise_int_custom "raise_int"(bint fire) except +raise_py_error cdef int raise_int_custom "raise_int"(bint fire) except +raise_py_error
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment