Closed robertwb closed 8 years ago
Reported by robertwb on 29 Jul 2008 07:23 UTC 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)
Migrated-From: http://trac.cython.org/ticket/31
Comment by robertwb on 3 Aug 2008 06:38 UTC Fixed in http://hg.cython.org/cython-devel/rev/7a1defb8455d
Modified by robertwb on 19 Aug 2008 04:29 UTC
Reported by robertwb on 29 Jul 2008 07:23 UTC The following should work.
Migrated-From: http://trac.cython.org/ticket/31