Ticket #31 (closed defect: fixed)
function pointers not accepted as function arguments
| Reported by: | robertwb | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | 0.9.8.1 |
| Component: | Parsing | Keywords: | |
| Cc: |
Description
The following should work.
cdef int foo(int x):
return x*x*x-x
cdef call_foo(int x, int (*f)(int)):
return f(x)
print call_foo(3, &foo)
Change History
Note: See
TracTickets for help on using
tickets.
