Blame tests/compile/types_and_names.pyx

Packit Service 99d393
# mode: compile
Packit Service 99d393
Packit Service 99d393
print sizeof(point*)
Packit Service 99d393
Packit Service 99d393
cdef foo(int i0, int i, list L0, list L, point p0, point p, point* ps):
Packit Service 99d393
    pass
Packit Service 99d393
Packit Service 99d393
cdef class A:
Packit Service 99d393
    cdef list
Packit Service 99d393
    cdef list L
Packit Service 99d393
    # Possibly empty declarators
Packit Service 99d393
    cdef point(self, int, int i, list, list L, point, point p, point* ps):
Packit Service 99d393
        pass
Packit Service 99d393
Packit Service 99d393
cdef class B(A):
Packit Service 99d393
    cdef point(self, o, int i, oo, list L, ooo, point p, point* ps):
Packit Service 99d393
        pass
Packit Service 99d393
Packit Service 99d393
cdef point P
Packit Service 99d393
cdef point *Ps
Packit Service 99d393
cdef A a
Packit Service 99d393
Packit Service 99d393
foo(2, 3, [], [], P, P, &P)
Packit Service 99d393
a.point("something", 3, "anything", [], "an object", P, &P)
Packit Service 99d393