Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
364695bd
Commit
364695bd
authored
Feb 24, 2016
by
Kevin R. Thornton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add in MRE for devs to look at
parent
6372622a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
tests/run/libcpp_all.pyx
tests/run/libcpp_all.pyx
+9
-0
No files found.
tests/run/libcpp_all.pyx
View file @
364695bd
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment