scipy/scipy — pull request #360 by pv (2012-11-18 15:55:20+00:00)
Title: BUG: special: fix build failure on mingw32

The issue is that Cython (0.17 at least) assumes that functions marked "cdef extern" come from external DLL libraries, and appends corresponding declaration attributes. However, this is incorrect in the case of functions in scipy.special. The solution here was to move the declarations to a separate .h file, outside of Cython's control.

Fixes http://projects.scipy.org/scipy/ticket/1773