Commit d75f8d93 authored by Stefan Behnel's avatar Stefan Behnel

extend test

parent b2538cdb
......@@ -76,6 +76,17 @@ def assign_int_array_array():
return v
def build_from_list_of_arrays():
"""
>>> build_from_list_of_arrays()
[[11, 12, 13], [21, 22, 23]]
"""
cdef int[3] x = [11, 12, 13]
cdef int[3] y = [21, 22, 23]
cdef int[2][3] v = [x, y]
return v
ctypedef struct MyStructType:
int x
double y
......
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