autowrap icon indicating copy to clipboard operation
autowrap copied to clipboard

named parameters possible?

Open timosachsenberg opened this issue 1 year ago • 2 comments

Is it possible to also allow named parameters? Currently it seems to fail.

timosachsenberg avatar Oct 20 '22 08:10 timosachsenberg

@jpfeuffer or @poshul do you know if this is possible / a good idea to add to autowrap?

timosachsenberg avatar Oct 20 '22 08:10 timosachsenberg

You can with a pure python function (def) in a pyx file but not in cdef function which are the only ones allowed in a pxd file. They are callable from C so they need a C compatible signature.

jpfeuffer avatar Oct 20 '22 09:10 jpfeuffer