Cython has moved to github.

cython-devel

view tests/run/r_bowden1.pyx @ 1622:4f0327bdebc9

test for temp allocation bug in call
author Robert Bradshaw <robertwb@math.washington.edu>
date Sat Jan 17 01:25:34 2009 -0800 (3 years ago)
parents 832e5eaeb740
children 82d312a9f1fc
line source
1 __doc__ = u"""
2 >>> f(100)
3 101L
4 >>> g(3000000000)
5 3000000001L
6 """
8 import sys
9 if sys.version_info[0] >= 3:
10 __doc__ = __doc__.replace(u"L", u"")
12 def f(x):
13 cdef unsigned long long ull
14 ull = x
15 return ull + 1
17 def g(unsigned long x):
18 return x + 1