Commit af38a31a authored by Stefan Behnel's avatar Stefan Behnel

fix pure Python test

--HG--
extra : rebase_source : 8127709bcb8f2d8f6cfd91a1e46b16dcb7734765
parent f7bbd353
...@@ -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