1 2 3 4 5 6 7 8 9 10 11 12 13
ctypedef fused my_fused_type: int double cdef func(my_fused_type *a): print(a[0]) cdef int b = 3 cdef double c = 3.0 func(&b) func(&c)