Commit 364695bd authored by Kevin R. Thornton's avatar Kevin R. Thornton

add in MRE for devs to look at

parent 6372622a
......@@ -116,3 +116,12 @@ assert vec_alloc_int.size() == 10
cdef libcpp.list.list[int,allocator[int]] list_alloc_int = libcpp.list.list[int,allocator[int]](10,1)
assert list_alloc_int.size() == 10
##Something about the default params breaks the auto-conversion...
def convert_to_vector(I):
"""
>>> convert_to_vector([1,2,3,4])
"""
cdef vector[int] x = I
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