projects
/
cython.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove trailing whitespace.
[cython.git]
/
tests
/
compile
/
index.pyx
1
def f(obj1, obj2, obj3):
2
cdef int int1, int2=0, int3=0
3
cdef float flt1, *ptr1=NULL
4
cdef int array1[42]
5
array1[int2] = 0
6
int1 = array1[int2]
7
flt1 = ptr1[int2]
8
array1[int1] = int2
9
ptr1[int1] = int2
10
obj1 = obj2[obj3]
11
int1 = array1[obj3]
12
obj1 = obj2[int3]
13
obj1[obj2] = obj3
14
array1[obj2] = int3
15
obj1[int2] = obj3
16
obj1[obj2] = 42
17
18
f(None, None, None)