1 2 3 4 5 6 7 8 9 10 11 12
# mode: compile cdef int grail(): cdef int (*spam)() spam = &grail spam = grail spam() ctypedef int funcptr_t() cdef inline funcptr_t* dummy(): return &grail