[Cython] Correct way of defining enums

Stéfan van der Walt stefan at sun.ac.za
Wed Nov 30 18:23:33 CET 2011


On Tue, Nov 29, 2011 at 11:15 PM, Robert Bradshaw
<robertwb at math.washington.edu> wrote:
> The problem was that NPY_SEARCHSIDE wasn't defined as a type, so it
> was treating that as the argument name (implicitly typed to be
> object).
>
> https://github.com/cython/cython/commit/5ba30c45c7d3478f7b7d0490e720fb0a184c6050

Thanks for the quick fix, Robert!  It works perfectly now.

Cheers
Stéfan


More information about the cython-devel mailing list