Commit 2886c169 authored by Stefan Behnel's avatar Stefan Behnel

fix pure Python test

parent 1b76165a
...@@ -39,7 +39,7 @@ def test_declare(n): ...@@ -39,7 +39,7 @@ def test_declare(n):
y = cython.declare(cython.int, n) y = cython.declare(cython.int, n)
if cython.compiled: if cython.compiled:
cython.declare(xx=cython.int, yy=cython.long) cython.declare(xx=cython.int, yy=cython.long)
i = sizeof(xx) i = cython.sizeof(xx)
ptr = cython.declare(cython.p_int, cython.address(y)) ptr = cython.declare(cython.p_int, cython.address(y))
return y, ptr[0] return y, ptr[0]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment