[Cython] New function (pointer) syntax.

Robert Bradshaw robertwb at gmail.com
Thu Nov 6 08:34:21 CET 2014


I'd like to propose a more pythonic way to declare function pointer
types, namelye

    type0 (*[ident])(type1, type2, type3)

would instead become

    (type1, type2, type3) -> type0 [ident]

I have a pull request up at https://github.com/cython/cython/pull/333;
what do people think?

- Robert


More information about the cython-devel mailing list