From: Robert Bradshaw Date: Tue, 30 Sep 2008 19:07:11 +0000 (-0700) Subject: fix tests X-Git-Tag: 0.9.9.2.beta~75 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8cee959ee4d76b12ddb5842d026a07ccc043aec5;p=cython.git fix tests --- diff --git a/tests/compile/types_and_names.pxd b/tests/compile/types_and_names.pxd new file mode 100644 index 00000000..22a7b733 --- /dev/null +++ b/tests/compile/types_and_names.pxd @@ -0,0 +1,9 @@ +cdef struct point: + double x + double y + double z + +cdef foo(int, int i, + list, list L, + point, point p, point* ps) + diff --git a/tests/compile/types_and_names.pyx b/tests/compile/types_and_names.pyx index cd58910d..c54bb321 100644 --- a/tests/compile/types_and_names.pyx +++ b/tests/compile/types_and_names.pyx @@ -1,18 +1,12 @@ -cdef struct point: - double x - double y - double z - print sizeof(point*) -cdef extern from *: - cdef foo(int, int i, - list, list L, - point, point p, point* ps) +cdef foo(int i0, int i, list L0, list L, point p0, point p, point* ps): + pass cdef class A: cdef list cdef list L + # Possibly empty declarators cdef point(self, int, int i, list, list L, point, point p, point* ps): pass