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
286364bf
Commit
286364bf
authored
Mar 22, 2012
by
Mark
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #92 from kif/master
Add "nogil" to the stdc++ pxd files
parents
28c23739
5531050e
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
325 additions
and
326 deletions
+325
-326
Cython/Includes/libcpp/deque.pxd
Cython/Includes/libcpp/deque.pxd
+42
-42
Cython/Includes/libcpp/list.pxd
Cython/Includes/libcpp/list.pxd
+45
-45
Cython/Includes/libcpp/map.pxd
Cython/Includes/libcpp/map.pxd
+37
-37
Cython/Includes/libcpp/queue.pxd
Cython/Includes/libcpp/queue.pxd
+11
-11
Cython/Includes/libcpp/set.pxd
Cython/Includes/libcpp/set.pxd
+36
-36
Cython/Includes/libcpp/stack.pxd
Cython/Includes/libcpp/stack.pxd
+5
-5
Cython/Includes/libcpp/string.pxd
Cython/Includes/libcpp/string.pxd
+91
-92
Cython/Includes/libcpp/utility.pxd
Cython/Includes/libcpp/utility.pxd
+6
-6
Cython/Includes/libcpp/vector.pxd
Cython/Includes/libcpp/vector.pxd
+52
-52
No files found.
Cython/Includes/libcpp/deque.pxd
View file @
286364bf
...
@@ -3,17 +3,17 @@ from pair cimport pair
...
@@ -3,17 +3,17 @@ from pair cimport pair
cdef
extern
from
"<deque>"
namespace
"std"
:
cdef
extern
from
"<deque>"
namespace
"std"
:
cdef
cppclass
deque
[
T
]:
cdef
cppclass
deque
[
T
]:
cppclass
iterator
:
cppclass
iterator
:
T
&
operator
*
()
T
&
operator
*
()
nogil
iterator
operator
++
()
iterator
operator
++
()
nogil
iterator
operator
--
()
iterator
operator
--
()
nogil
bint
operator
==
(
iterator
)
bint
operator
==
(
iterator
)
nogil
bint
operator
!=
(
iterator
)
bint
operator
!=
(
iterator
)
nogil
cppclass
reverse_iterator
:
cppclass
reverse_iterator
:
T
&
operator
*
()
T
&
operator
*
()
nogil
iterator
operator
++
()
iterator
operator
++
()
nogil
iterator
operator
--
()
iterator
operator
--
()
nogil
bint
operator
==
(
reverse_iterator
)
bint
operator
==
(
reverse_iterator
)
nogil
bint
operator
!=
(
reverse_iterator
)
bint
operator
!=
(
reverse_iterator
)
nogil
#cppclass const_iterator(iterator):
#cppclass const_iterator(iterator):
# pass
# pass
#cppclass const_reverse_iterator(reverse_iterator):
#cppclass const_reverse_iterator(reverse_iterator):
...
@@ -23,40 +23,40 @@ cdef extern from "<deque>" namespace "std":
...
@@ -23,40 +23,40 @@ cdef extern from "<deque>" namespace "std":
deque
(
size_t
)
deque
(
size_t
)
deque
(
size_t
,
T
&
)
deque
(
size_t
,
T
&
)
#deque[input_iterator](input_iterator, input_iterator)
#deque[input_iterator](input_iterator, input_iterator)
T
&
operator
[](
size_t
)
T
&
operator
[](
size_t
)
nogil
#deque& operator=(deque&)
#deque& operator=(deque&)
bint
operator
==
(
deque
&
,
deque
&
)
bint
operator
==
(
deque
&
,
deque
&
)
nogil
bint
operator
!=
(
deque
&
,
deque
&
)
bint
operator
!=
(
deque
&
,
deque
&
)
nogil
bint
operator
<
(
deque
&
,
deque
&
)
bint
operator
<
(
deque
&
,
deque
&
)
nogil
bint
operator
>
(
deque
&
,
deque
&
)
bint
operator
>
(
deque
&
,
deque
&
)
nogil
bint
operator
<=
(
deque
&
,
deque
&
)
bint
operator
<=
(
deque
&
,
deque
&
)
nogil
bint
operator
>=
(
deque
&
,
deque
&
)
bint
operator
>=
(
deque
&
,
deque
&
)
nogil
void
assign
(
size_t
,
T
&
)
void
assign
(
size_t
,
T
&
)
nogil
void
assign
(
input_iterator
,
input_iterator
)
void
assign
(
input_iterator
,
input_iterator
)
nogil
T
&
at
(
size_t
)
T
&
at
(
size_t
)
nogil
T
&
back
()
T
&
back
()
nogil
iterator
begin
()
iterator
begin
()
nogil
#const_iterator begin()
#const_iterator begin()
void
clear
()
void
clear
()
nogil
bint
empty
()
bint
empty
()
nogil
iterator
end
()
iterator
end
()
nogil
#const_iterator end()
#const_iterator end()
iterator
erase
(
iterator
)
iterator
erase
(
iterator
)
nogil
iterator
erase
(
iterator
,
iterator
)
iterator
erase
(
iterator
,
iterator
)
nogil
T
&
front
()
T
&
front
()
nogil
iterator
insert
(
iterator
,
T
&
)
iterator
insert
(
iterator
,
T
&
)
nogil
void
insert
(
iterator
,
size_t
,
T
&
)
void
insert
(
iterator
,
size_t
,
T
&
)
nogil
void
insert
(
iterator
,
input_iterator
,
input_iterator
)
void
insert
(
iterator
,
input_iterator
,
input_iterator
)
nogil
size_t
max_size
()
size_t
max_size
()
nogil
void
pop_back
()
void
pop_back
()
nogil
void
pop_front
()
void
pop_front
()
nogil
void
push_back
(
T
&
)
void
push_back
(
T
&
)
nogil
void
push_front
(
T
&
)
void
push_front
(
T
&
)
nogil
reverse_iterator
rbegin
()
reverse_iterator
rbegin
()
nogil
#const_reverse_iterator rbegin()
#const_reverse_iterator rbegin()
reverse_iterator
rend
()
reverse_iterator
rend
()
nogil
#const_reverse_iterator rend()
#const_reverse_iterator rend()
void
resize
(
size_t
)
void
resize
(
size_t
)
nogil
void
resize
(
size_t
,
T
&
)
void
resize
(
size_t
,
T
&
)
nogil
size_t
size
()
size_t
size
()
nogil
void
swap
(
deque
&
)
void
swap
(
deque
&
)
nogil
Cython/Includes/libcpp/list.pxd
View file @
286364bf
cdef
extern
from
"<list>"
namespace
"std"
:
cdef
extern
from
"<list>"
namespace
"std"
:
cdef
cppclass
list
[
T
]:
cdef
cppclass
list
[
T
]:
cppclass
iterator
:
cppclass
iterator
:
T
&
operator
*
()
T
&
operator
*
()
nogil
iterator
operator
++
()
iterator
operator
++
()
nogil
iterator
operator
--
()
iterator
operator
--
()
nogil
bint
operator
==
(
iterator
)
bint
operator
==
(
iterator
)
nogil
bint
operator
!=
(
iterator
)
bint
operator
!=
(
iterator
)
nogil
cppclass
reverse_iterator
:
cppclass
reverse_iterator
:
T
&
operator
*
()
T
&
operator
*
()
nogil
iterator
operator
++
()
iterator
operator
++
()
nogil
iterator
operator
--
()
iterator
operator
--
()
nogil
bint
operator
==
(
reverse_iterator
)
bint
operator
==
(
reverse_iterator
)
nogil
bint
operator
!=
(
reverse_iterator
)
bint
operator
!=
(
reverse_iterator
)
nogil
#cppclass const_iterator(iterator):
#cppclass const_iterator(iterator):
# pass
# pass
#cppclass const_reverse_iterator(reverse_iterator):
#cppclass const_reverse_iterator(reverse_iterator):
...
@@ -20,46 +20,46 @@ cdef extern from "<list>" namespace "std":
...
@@ -20,46 +20,46 @@ cdef extern from "<list>" namespace "std":
list
(
list
&
)
list
(
list
&
)
list
(
size_t
,
T
&
)
list
(
size_t
,
T
&
)
#list operator=(list&)
#list operator=(list&)
bint
operator
==
(
list
&
,
list
&
)
bint
operator
==
(
list
&
,
list
&
)
nogil
bint
operator
!=
(
list
&
,
list
&
)
bint
operator
!=
(
list
&
,
list
&
)
nogil
bint
operator
<
(
list
&
,
list
&
)
bint
operator
<
(
list
&
,
list
&
)
nogil
bint
operator
>
(
list
&
,
list
&
)
bint
operator
>
(
list
&
,
list
&
)
nogil
bint
operator
<=
(
list
&
,
list
&
)
bint
operator
<=
(
list
&
,
list
&
)
nogil
bint
operator
>=
(
list
&
,
list
&
)
bint
operator
>=
(
list
&
,
list
&
)
nogil
void
assign
(
size_t
,
T
&
)
void
assign
(
size_t
,
T
&
)
nogil
T
&
back
()
T
&
back
()
nogil
iterator
begin
()
iterator
begin
()
nogil
#const_iterator begin()
#const_iterator begin()
void
clear
()
void
clear
()
nogil
bint
empty
()
bint
empty
()
nogil
iterator
end
()
iterator
end
()
nogil
#const_iterator end()
#const_iterator end()
iterator
erase
(
iterator
)
iterator
erase
(
iterator
)
nogil
iterator
erase
(
iterator
,
iterator
)
iterator
erase
(
iterator
,
iterator
)
nogil
T
&
front
()
T
&
front
()
nogil
iterator
insert
(
iterator
,
T
&
)
iterator
insert
(
iterator
,
T
&
)
nogil
void
insert
(
iterator
,
size_t
,
T
&
)
void
insert
(
iterator
,
size_t
,
T
&
)
nogil
size_t
max_size
()
size_t
max_size
()
nogil
void
merge
(
list
&
)
void
merge
(
list
&
)
nogil
#void merge(list&, BinPred)
#void merge(list&, BinPred)
void
pop_back
()
void
pop_back
()
nogil
void
pop_front
()
void
pop_front
()
nogil
void
push_back
(
T
&
)
void
push_back
(
T
&
)
nogil
void
push_front
(
T
&
)
void
push_front
(
T
&
)
nogil
reverse_iterator
rbegin
()
reverse_iterator
rbegin
()
nogil
#const_reverse_iterator rbegin()
#const_reverse_iterator rbegin()
void
remove
(
T
&
)
void
remove
(
T
&
)
nogil
#void remove_if(UnPred)
#void remove_if(UnPred)
reverse_iterator
rend
()
reverse_iterator
rend
()
nogil
#const_reverse_iterator rend()
#const_reverse_iterator rend()
void
resize
(
size_t
,
T
&
)
void
resize
(
size_t
,
T
&
)
nogil
void
reverse
()
void
reverse
()
nogil
size_t
size
()
size_t
size
()
nogil
void
sort
()
void
sort
()
nogil
#void sort(BinPred)
#void sort(BinPred)
void
splice
(
iterator
,
list
&
)
void
splice
(
iterator
,
list
&
)
nogil
void
splice
(
iterator
,
list
&
,
iterator
)
void
splice
(
iterator
,
list
&
,
iterator
)
nogil
void
splice
(
iterator
,
list
&
,
iterator
,
iterator
)
void
splice
(
iterator
,
list
&
,
iterator
,
iterator
)
nogil
void
swap
(
list
&
)
void
swap
(
list
&
)
nogil
void
unique
()
void
unique
()
nogil
#void unique(BinPred)
#void unique(BinPred)
Cython/Includes/libcpp/map.pxd
View file @
286364bf
...
@@ -3,17 +3,17 @@ from utility cimport pair
...
@@ -3,17 +3,17 @@ from utility cimport pair
cdef
extern
from
"<map>"
namespace
"std"
:
cdef
extern
from
"<map>"
namespace
"std"
:
cdef
cppclass
map
[
T
,
U
]:
cdef
cppclass
map
[
T
,
U
]:
cppclass
iterator
:
cppclass
iterator
:
pair
[
T
,
U
]
&
operator
*
()
pair
[
T
,
U
]
&
operator
*
()
nogil
iterator
operator
++
()
iterator
operator
++
()
nogil
iterator
operator
--
()
iterator
operator
--
()
nogil
bint
operator
==
(
iterator
)
bint
operator
==
(
iterator
)
nogil
bint
operator
!=
(
iterator
)
bint
operator
!=
(
iterator
)
nogil
cppclass
reverse_iterator
:
cppclass
reverse_iterator
:
pair
[
T
,
U
]
&
operator
*
()
pair
[
T
,
U
]
&
operator
*
()
nogil
iterator
operator
++
()
iterator
operator
++
()
nogil
iterator
operator
--
()
iterator
operator
--
()
nogil
bint
operator
==
(
reverse_iterator
)
bint
operator
==
(
reverse_iterator
)
nogil
bint
operator
!=
(
reverse_iterator
)
bint
operator
!=
(
reverse_iterator
)
nogil
#cppclass const_iterator(iterator):
#cppclass const_iterator(iterator):
# pass
# pass
#cppclass const_reverse_iterator(reverse_iterator):
#cppclass const_reverse_iterator(reverse_iterator):
...
@@ -21,42 +21,42 @@ cdef extern from "<map>" namespace "std":
...
@@ -21,42 +21,42 @@ cdef extern from "<map>" namespace "std":
map
()
map
()
map
(
map
&
)
map
(
map
&
)
#map(key_compare&)
#map(key_compare&)
U
&
operator
[](
T
&
)
U
&
operator
[](
T
&
)
nogil
#map& operator=(map&)
#map& operator=(map&)
bint
operator
==
(
map
&
,
map
&
)
bint
operator
==
(
map
&
,
map
&
)
nogil
bint
operator
!=
(
map
&
,
map
&
)
bint
operator
!=
(
map
&
,
map
&
)
nogil
bint
operator
<
(
map
&
,
map
&
)
bint
operator
<
(
map
&
,
map
&
)
nogil
bint
operator
>
(
map
&
,
map
&
)
bint
operator
>
(
map
&
,
map
&
)
nogil
bint
operator
<=
(
map
&
,
map
&
)
bint
operator
<=
(
map
&
,
map
&
)
nogil
bint
operator
>=
(
map
&
,
map
&
)
bint
operator
>=
(
map
&
,
map
&
)
nogil
U
&
at
(
T
&
)
U
&
at
(
T
&
)
nogil
iterator
begin
()
iterator
begin
()
nogil
#const_iterator begin()
#const_iterator begin()
void
clear
()
void
clear
()
nogil
size_t
count
(
T
&
)
size_t
count
(
T
&
)
nogil
bint
empty
()
bint
empty
()
nogil
iterator
end
()
iterator
end
()
nogil
#const_iterator end()
#const_iterator end()
pair
[
iterator
,
iterator
]
equal_range
(
T
&
)
pair
[
iterator
,
iterator
]
equal_range
(
T
&
)
nogil
#pair[const_iterator, const_iterator] equal_range(key_type&)
#pair[const_iterator, const_iterator] equal_range(key_type&)
void
erase
(
iterator
)
void
erase
(
iterator
)
nogil
void
erase
(
iterator
,
iterator
)
void
erase
(
iterator
,
iterator
)
nogil
size_t
erase
(
T
&
)
size_t
erase
(
T
&
)
nogil
iterator
find
(
T
&
)
iterator
find
(
T
&
)
nogil
#const_iterator find(key_type&)
#const_iterator find(key_type&)
pair
[
iterator
,
bint
]
insert
(
pair
[
T
,
U
])
# XXX pair[T,U]&
pair
[
iterator
,
bint
]
insert
(
pair
[
T
,
U
])
nogil
# XXX pair[T,U]&
iterator
insert
(
iterator
,
pair
[
T
,
U
])
# XXX pair[T,U]&
iterator
insert
(
iterator
,
pair
[
T
,
U
])
nogil
# XXX pair[T,U]&
#void insert(input_iterator, input_iterator)
#void insert(input_iterator, input_iterator)
#key_compare key_comp()
#key_compare key_comp()
iterator
lower_bound
(
T
&
)
iterator
lower_bound
(
T
&
)
nogil
#const_iterator lower_bound(key_type&)
#const_iterator lower_bound(key_type&)
size_t
max_size
()
size_t
max_size
()
nogil
reverse_iterator
rbegin
()
reverse_iterator
rbegin
()
nogil
#const_reverse_iterator rbegin()
#const_reverse_iterator rbegin()
reverse_iterator
rend
()
reverse_iterator
rend
()
nogil
#const_reverse_iterator rend()
#const_reverse_iterator rend()
size_t
size
()
size_t
size
()
nogil
void
swap
(
map
&
)
void
swap
(
map
&
)
nogil
iterator
upper_bound
(
T
&
)
iterator
upper_bound
(
T
&
)
nogil
#const_iterator upper_bound(key_type&)
#const_iterator upper_bound(key_type&)
#value_compare value_comp()
#value_compare value_comp()
Cython/Includes/libcpp/queue.pxd
View file @
286364bf
...
@@ -3,18 +3,18 @@ cdef extern from "<queue>" namespace "std":
...
@@ -3,18 +3,18 @@ cdef extern from "<queue>" namespace "std":
queue
()
queue
()
queue
(
queue
&
)
queue
(
queue
&
)
#queue(Container&)
#queue(Container&)
T
&
back
()
T
&
back
()
nogil
bint
empty
()
bint
empty
()
nogil
T
&
front
()
T
&
front
()
nogil
void
pop
()
void
pop
()
nogil
void
push
(
T
&
)
void
push
(
T
&
)
nogil
size_t
size
()
size_t
size
()
nogil
cdef
cppclass
priority_queue
[
T
]:
cdef
cppclass
priority_queue
[
T
]:
priority_queue
()
priority_queue
()
priority_queue
(
priority_queue
&
)
priority_queue
(
priority_queue
&
)
#priority_queue(Container&)
#priority_queue(Container&)
bint
empty
()
bint
empty
()
nogil
void
pop
()
void
pop
()
nogil
void
push
(
T
&
)
void
push
(
T
&
)
nogil
size_t
size
()
size_t
size
()
nogil
T
&
top
()
T
&
top
()
nogil
Cython/Includes/libcpp/set.pxd
View file @
286364bf
...
@@ -4,57 +4,57 @@ cdef extern from "<set>" namespace "std":
...
@@ -4,57 +4,57 @@ cdef extern from "<set>" namespace "std":
cdef
cppclass
set
[
T
]:
cdef
cppclass
set
[
T
]:
cppclass
iterator
:
cppclass
iterator
:
T
&
operator
*
()
T
&
operator
*
()
iterator
operator
++
()
iterator
operator
++
()
nogil
iterator
operator
--
()
iterator
operator
--
()
nogil
bint
operator
==
(
iterator
)
bint
operator
==
(
iterator
)
nogil
bint
operator
!=
(
iterator
)
bint
operator
!=
(
iterator
)
nogil
cppclass
reverse_iterator
:
cppclass
reverse_iterator
:
T
&
operator
*
()
T
&
operator
*
()
nogil
iterator
operator
++
()
iterator
operator
++
()
nogil
iterator
operator
--
()
iterator
operator
--
()
nogil
bint
operator
==
(
reverse_iterator
)
bint
operator
==
(
reverse_iterator
)
nogil
bint
operator
!=
(
reverse_iterator
)
bint
operator
!=
(
reverse_iterator
)
nogil
#cppclass const_iterator(iterator):
#cppclass const_iterator(iterator):
# pass
# pass
#cppclass const_reverse_iterator(reverse_iterator):
#cppclass const_reverse_iterator(reverse_iterator):
# pass
# pass
set
()
set
()
nogil
set
(
set
&
)
set
(
set
&
)
nogil
#set(key_compare&)
#set(key_compare&)
#set& operator=(set&)
#set& operator=(set&)
bint
operator
==
(
set
&
,
set
&
)
bint
operator
==
(
set
&
,
set
&
)
nogil
bint
operator
!=
(
set
&
,
set
&
)
bint
operator
!=
(
set
&
,
set
&
)
nogil
bint
operator
<
(
set
&
,
set
&
)
bint
operator
<
(
set
&
,
set
&
)
nogil
bint
operator
>
(
set
&
,
set
&
)
bint
operator
>
(
set
&
,
set
&
)
nogil
bint
operator
<=
(
set
&
,
set
&
)
bint
operator
<=
(
set
&
,
set
&
)
nogil
bint
operator
>=
(
set
&
,
set
&
)
bint
operator
>=
(
set
&
,
set
&
)
nogil
iterator
begin
()
iterator
begin
()
nogil
#const_iterator begin()
#const_iterator begin()
void
clear
()
void
clear
()
nogil
size_t
count
(
T
&
)
size_t
count
(
T
&
)
nogil
bint
empty
()
bint
empty
()
nogil
iterator
end
()
iterator
end
()
nogil
#const_iterator end()
#const_iterator end()
pair
[
iterator
,
iterator
]
equal_range
(
T
&
)
pair
[
iterator
,
iterator
]
equal_range
(
T
&
)
nogil
#pair[const_iterator, const_iterator] equal_range(T&)
#pair[const_iterator, const_iterator] equal_range(T&)
void
erase
(
iterator
)
void
erase
(
iterator
)
nogil
void
erase
(
iterator
,
iterator
)
void
erase
(
iterator
,
iterator
)
nogil
size_t
erase
(
T
&
)
size_t
erase
(
T
&
)
nogil
iterator
find
(
T
&
)
iterator
find
(
T
&
)
nogil
#const_iterator find(T&)
#const_iterator find(T&)
pair
[
iterator
,
bint
]
insert
(
T
&
)
pair
[
iterator
,
bint
]
insert
(
T
&
)
nogil
iterator
insert
(
iterator
,
T
&
)
iterator
insert
(
iterator
,
T
&
)
nogil
#void insert(input_iterator, input_iterator)
#void insert(input_iterator, input_iterator)
#key_compare key_comp()
#key_compare key_comp()
iterator
lower_bound
(
T
&
)
iterator
lower_bound
(
T
&
)
nogil
#const_iterator lower_bound(T&)
#const_iterator lower_bound(T&)
size_t
max_size
()
size_t
max_size
()
nogil
reverse_iterator
rbegin
()
reverse_iterator
rbegin
()
nogil
#const_reverse_iterator rbegin()
#const_reverse_iterator rbegin()
reverse_iterator
rend
()
reverse_iterator
rend
()
nogil
#const_reverse_iterator rend()
#const_reverse_iterator rend()
size_t
size
()
size_t
size
()
nogil
void
swap
(
set
&
)
void
swap
(
set
&
)
nogil
iterator
upper_bound
(
T
&
)
iterator
upper_bound
(
T
&
)
nogil
#const_iterator upper_bound(T&)
#const_iterator upper_bound(T&)
#value_compare value_comp()
#value_compare value_comp()
Cython/Includes/libcpp/stack.pxd
View file @
286364bf
...
@@ -3,8 +3,8 @@ cdef extern from "<stack>" namespace "std":
...
@@ -3,8 +3,8 @@ cdef extern from "<stack>" namespace "std":
stack
()
stack
()
stack
(
stack
&
)
stack
(
stack
&
)
#stack(Container&)
#stack(Container&)
bint
empty
()
bint
empty
()
nogil
void
pop
()
void
pop
()
nogil
void
push
(
T
&
)
void
push
(
T
&
)
nogil
size_t
size
()
size_t
size
()
nogil
T
&
top
()
T
&
top
()
nogil
Cython/Includes/libcpp/string.pxd
View file @
286364bf
cdef
extern
from
"<string>"
namespace
"std"
:
cdef
extern
from
"<string>"
namespace
"std"
:
size_t
npos
=
-
1
size_t
npos
=
-
1
...
@@ -11,104 +10,104 @@ cdef extern from "<string>" namespace "std":
...
@@ -11,104 +10,104 @@ cdef extern from "<string>" namespace "std":
# as a string formed by a repetition of character c, n times.
# as a string formed by a repetition of character c, n times.
string
(
size_t
,
char
)
string
(
size_t
,
char
)
char
*
c_str
()
char
*
c_str
()
nogil
size_t
size
()
size_t
size
()
nogil
size_t
max_size
()
size_t
max_size
()
nogil
size_t
length
()
size_t
length
()
nogil
void
resize
(
size_t
)
void
resize
(
size_t
)
nogil
void
resize
(
size_t
,
char
c
)
void
resize
(
size_t
,
char
c
)
nogil
size_t
capacity
()
size_t
capacity
()
nogil
void
reserve
(
size_t
)
void
reserve
(
size_t
)
nogil
void
clear
()
void
clear
()
nogil
bint
empty
()
bint
empty
()
nogil
char
&
at
(
size_t
)
char
&
at
(
size_t
)
nogil
char
&
operator
[](
size_t
)
char
&
operator
[](
size_t
)
nogil
int
compare
(
string
&
)
int
compare
(
string
&
)
nogil
string
&
append
(
string
&
)
string
&
append
(
string
&
)
nogil
string
&
append
(
string
&
,
size_t
,
size_t
)
string
&
append
(
string
&
,
size_t
,
size_t
)
nogil
string
&
append
(
char
*
)
string
&
append
(
char
*
)
nogil
string
&
append
(
char
*
,
size_t
)
string
&
append
(
char
*
,
size_t
)
nogil
string
&
append
(
size_t
,
char
)
string
&
append
(
size_t
,
char
)
nogil
void
push_back
(
char
c
)
void
push_back
(
char
c
)
nogil
string
&
assign
(
string
&
)
string
&
assign
(
string
&
)
nogil
string
&
assign
(
string
&
,
size_t
,
size_t
)
string
&
assign
(
string
&
,
size_t
,
size_t
)
nogil
string
&
assign
(
char
*
,
size_t
)
string
&
assign
(
char
*
,
size_t
)
nogil
string
&
assign
(
char
*
)
string
&
assign
(
char
*
)
nogil
string
&
assign
(
size_t
n
,
char
c
)
string
&
assign
(
size_t
n
,
char
c
)
nogil
string
&
insert
(
size_t
,
string
&
)
string
&
insert
(
size_t
,
string
&
)
nogil
string
&
insert
(
size_t
,
string
&
,
size_t
,
size_t
)
string
&
insert
(
size_t
,
string
&
,
size_t
,
size_t
)
nogil
string
&
insert
(
size_t
,
char
*
s
,
size_t
)
string
&
insert
(
size_t
,
char
*
s
,
size_t
)
nogil
string
&
insert
(
size_t
,
char
*
s
)
string
&
insert
(
size_t
,
char
*
s
)
nogil
string
&
insert
(
size_t
,
size_t
,
char
c
)
string
&
insert
(
size_t
,
size_t
,
char
c
)
nogil
size_t
copy
(
char
*
,
size_t
,
size_t
)
size_t
copy
(
char
*
,
size_t
,
size_t
)
nogil
size_t
find
(
string
&
)
size_t
find
(
string
&
)
nogil
size_t
find
(
string
&
,
size_t
)
size_t
find
(
string
&
,
size_t
)
nogil
size_t
find
(
char
*
,
size_t
pos
,
size_t
)
size_t
find
(
char
*
,
size_t
pos
,
size_t
)
nogil
size_t
find
(
char
*
,
size_t
pos
)
size_t
find
(
char
*
,
size_t
pos
)
nogil
size_t
find
(
char
,
size_t
pos
)
size_t
find
(
char
,
size_t
pos
)
nogil
size_t
rfind
(
string
&
,
size_t
)
size_t
rfind
(
string
&
,
size_t
)
nogil
size_t
rfind
(
char
*
s
,
size_t
,
size_t
)
size_t
rfind
(
char
*
s
,
size_t
,
size_t
)
nogil
size_t
rfind
(
char
*
,
size_t
pos
)
size_t
rfind
(
char
*
,
size_t
pos
)
nogil
size_t
rfind
(
char
c
,
size_t
)
size_t
rfind
(
char
c
,
size_t
)
nogil
size_t
rfind
(
char
c
)
size_t
rfind
(
char
c
)
nogil
size_t
find_first_of
(
string
&
,
size_t
)
size_t
find_first_of
(
string
&
,
size_t
)
nogil
size_t
find_first_of
(
char
*
s
,
size_t
,
size_t
)
size_t
find_first_of
(
char
*
s
,
size_t
,
size_t
)
nogil
size_t
find_first_of
(
char
*
,
size_t
pos
)
size_t
find_first_of
(
char
*
,
size_t
pos
)
nogil
size_t
find_first_of
(
char
c
,
size_t
)
size_t
find_first_of
(
char
c
,
size_t
)
nogil
size_t
find_first_of
(
char
c
)
size_t
find_first_of
(
char
c
)
nogil
size_t
find_first_not_of
(
string
&
,
size_t
)
size_t
find_first_not_of
(
string
&
,
size_t
)
nogil
size_t
find_first_not_of
(
char
*
s
,
size_t
,
size_t
)
size_t
find_first_not_of
(
char
*
s
,
size_t
,
size_t
)
nogil
size_t
find_first_not_of
(
char
*
,
size_t
pos
)
size_t
find_first_not_of
(
char
*
,
size_t
pos
)
nogil
size_t
find_first_not_of
(
char
c
,
size_t
)
size_t
find_first_not_of
(
char
c
,
size_t
)
nogil
size_t
find_first_not_of
(
char
c
)
size_t
find_first_not_of
(
char
c
)
nogil
size_t
find_last_of
(
string
&
,
size_t
)
size_t
find_last_of
(
string
&
,
size_t
)
nogil
size_t
find_last_of
(
char
*
s
,
size_t
,
size_t
)
size_t
find_last_of
(
char
*
s
,
size_t
,
size_t
)
nogil
size_t
find_last_of
(
char
*
,
size_t
pos
)
size_t
find_last_of
(
char
*
,
size_t
pos
)
nogil
size_t
find_last_of
(
char
c
,
size_t
)
size_t
find_last_of
(
char
c
,
size_t
)
nogil
size_t
find_last_of
(
char
c
)
size_t
find_last_of
(
char
c
)
nogil
size_t
find_last_not_of
(
string
&
,
size_t
)
size_t
find_last_not_of
(
string
&
,
size_t
)
nogil
size_t
find_last_not_of
(
char
*
s
,
size_t
,
size_t
)
size_t
find_last_not_of
(
char
*
s
,
size_t
,
size_t
)
nogil
size_t
find_last_not_of
(
char
*
,
size_t
pos
)
size_t
find_last_not_of
(
char
*
,
size_t
pos
)
nogil
string
substr
(
size_t
,
size_t
)
string
substr
(
size_t
,
size_t
)
nogil
string
substr
()
string
substr
()
nogil
string
substr
(
size_t
)
string
substr
(
size_t
)
nogil
size_t
find_last_not_of
(
char
c
,
size_t
)
size_t
find_last_not_of
(
char
c
,
size_t
)
nogil
size_t
find_last_not_of
(
char
c
)
size_t
find_last_not_of
(
char
c
)
nogil
#string& operator= (string&)
#string& operator= (string&)
#string& operator= (char*)
#string& operator= (char*)
#string& operator= (char)
#string& operator= (char)
bint
operator
==
(
string
&
)
bint
operator
==
(
string
&
)
nogil
bint
operator
==
(
char
*
)
bint
operator
==
(
char
*
)
nogil
bint
operator
!=
(
string
&
rhs
)
bint
operator
!=
(
string
&
rhs
)
nogil
bint
operator
!=
(
char
*
)
bint
operator
!=
(
char
*
)
nogil
bint
operator
<
(
string
&
)
bint
operator
<
(
string
&
)
nogil
bint
operator
<
(
char
*
)
bint
operator
<
(
char
*
)
nogil
bint
operator
>
(
string
&
)
bint
operator
>
(
string
&
)
nogil
bint
operator
>
(
char
*
)
bint
operator
>
(
char
*
)
nogil
bint
operator
<=
(
string
&
)
bint
operator
<=
(
string
&
)
nogil
bint
operator
<=
(
char
*
)
bint
operator
<=
(
char
*
)
nogil
bint
operator
>=
(
string
&
)
bint
operator
>=
(
string
&
)
nogil
bint
operator
>=
(
char
*
)
bint
operator
>=
(
char
*
)
nogil
Cython/Includes/libcpp/utility.pxd
View file @
286364bf
...
@@ -5,9 +5,9 @@ cdef extern from "<utility>" namespace "std":
...
@@ -5,9 +5,9 @@ cdef extern from "<utility>" namespace "std":
pair
()
pair
()
pair
(
pair
&
)
pair
(
pair
&
)
pair
(
T
&
,
U
&
)
pair
(
T
&
,
U
&
)
bint
operator
==
(
pair
&
,
pair
&
)
bint
operator
==
(
pair
&
,
pair
&
)
nogil
bint
operator
!=
(
pair
&
,
pair
&
)
bint
operator
!=
(
pair
&
,
pair
&
)
nogil
bint
operator
<
(
pair
&
,
pair
&
)
bint
operator
<
(
pair
&
,
pair
&
)
nogil
bint
operator
>
(
pair
&
,
pair
&
)
bint
operator
>
(
pair
&
,
pair
&
)
nogil
bint
operator
<=
(
pair
&
,
pair
&
)
bint
operator
<=
(
pair
&
,
pair
&
)
nogil
bint
operator
>=
(
pair
&
,
pair
&
)
bint
operator
>=
(
pair
&
,
pair
&
)
nogil
Cython/Includes/libcpp/vector.pxd
View file @
286364bf
cdef
extern
from
"<vector>"
namespace
"std"
:
cdef
extern
from
"<vector>"
namespace
"std"
:
cdef
cppclass
vector
[
T
]:
cdef
cppclass
vector
[
T
]:
cppclass
iterator
:
cppclass
iterator
:
T
&
operator
*
()
T
&
operator
*
()
nogil
iterator
operator
++
()
iterator
operator
++
()
nogil
iterator
operator
--
()
iterator
operator
--
()
nogil
bint
operator
==
(
iterator
)
bint
operator
==
(
iterator
)
nogil
bint
operator
!=
(
iterator
)
bint
operator
!=
(
iterator
)
nogil
bint
operator
<
(
iterator
)
bint
operator
<
(
iterator
)
nogil
bint
operator
>
(
iterator
)
bint
operator
>
(
iterator
)
nogil
bint
operator
<=
(
iterator
)
bint
operator
<=
(
iterator
)
nogil
bint
operator
>=
(
iterator
)
bint
operator
>=
(
iterator
)
nogil
cppclass
reverse_iterator
:
cppclass
reverse_iterator
:
T
&
operator
*
()
T
&
operator
*
()
nogil
iterator
operator
++
()
iterator
operator
++
()
nogil
iterator
operator
--
()
iterator
operator
--
()
nogil
bint
operator
==
(
reverse_iterator
)
bint
operator
==
(
reverse_iterator
)
nogil
bint
operator
!=
(
reverse_iterator
)
bint
operator
!=
(
reverse_iterator
)
nogil
bint
operator
<
(
reverse_iterator
)
bint
operator
<
(
reverse_iterator
)
nogil
bint
operator
>
(
reverse_iterator
)
bint
operator
>
(
reverse_iterator
)
nogil
bint
operator
<=
(
reverse_iterator
)
bint
operator
<=
(
reverse_iterator
)
nogil
bint
operator
>=
(
reverse_iterator
)
bint
operator
>=
(
reverse_iterator
)
nogil
#cppclass const_iterator(iterator):
#cppclass const_iterator(iterator):
# pass
# pass
#cppclass const_reverse_iterator(reverse_iterator):
#cppclass const_reverse_iterator(reverse_iterator):
# pass
# pass
vector
()
vector
()
vector
(
vector
&
)
vector
(
vector
&
)
nogil
vector
(
size_t
)
vector
(
size_t
)
nogil
vector
(
size_t
,
T
&
)
vector
(
size_t
,
T
&
)
nogil
#vector[input_iterator](input_iterator, input_iterator)
#vector[input_iterator](input_iterator, input_iterator)
T
&
operator
[](
size_t
)
T
&
operator
[](
size_t
)
nogil
#vector& operator=(vector&)
#vector& operator=(vector&)
bint
operator
==
(
vector
&
,
vector
&
)
bint
operator
==
(
vector
&
,
vector
&
)
nogil
bint
operator
!=
(
vector
&
,
vector
&
)
bint
operator
!=
(
vector
&
,
vector
&
)
nogil
bint
operator
<
(
vector
&
,
vector
&
)
bint
operator
<
(
vector
&
,
vector
&
)
nogil
bint
operator
>
(
vector
&
,
vector
&
)
bint
operator
>
(
vector
&
,
vector
&
)
nogil
bint
operator
<=
(
vector
&
,
vector
&
)
bint
operator
<=
(
vector
&
,
vector
&
)
nogil
bint
operator
>=
(
vector
&
,
vector
&
)
bint
operator
>=
(
vector
&
,
vector
&
)
nogil
void
assign
(
size_t
,
T
&
)
void
assign
(
size_t
,
T
&
)
nogil
#void assign[input_iterator](input_iterator, input_iterator)
#void assign[input_iterator](input_iterator, input_iterator)
T
&
at
(
size_t
)
T
&
at
(
size_t
)
nogil
T
&
back
()
T
&
back
()
nogil
iterator
begin
()
iterator
begin
()
nogil
#const_iterator begin()
#const_iterator begin()
size_t
capacity
()
size_t
capacity
()
nogil
void
clear
()
void
clear
()
nogil
bint
empty
()
bint
empty
()
nogil
iterator
end
()
iterator
end
()
nogil
#const_iterator end()
#const_iterator end()
iterator
erase
(
iterator
)
iterator
erase
(
iterator
)
nogil
iterator
erase
(
iterator
,
iterator
)
iterator
erase
(
iterator
,
iterator
)
nogil
T
&
front
()
T
&
front
()
nogil
iterator
insert
(
iterator
,
T
&
)
iterator
insert
(
iterator
,
T
&
)
nogil
void
insert
(
iterator
,
size_t
,
T
&
)
void
insert
(
iterator
,
size_t
,
T
&
)
nogil
void
insert
(
iterator
,
iterator
,
iterator
)
void
insert
(
iterator
,
iterator
,
iterator
)
nogil
size_t
max_size
()
size_t
max_size
()
nogil
void
pop_back
()
void
pop_back
()
nogil
void
push_back
(
T
&
)
void
push_back
(
T
&
)
nogil
reverse_iterator
rbegin
()
reverse_iterator
rbegin
()
nogil
#const_reverse_iterator rbegin()
#const_reverse_iterator rbegin()
reverse_iterator
rend
()
reverse_iterator
rend
()
nogil
#const_reverse_iterator rend()
#const_reverse_iterator rend()
void
reserve
(
size_t
)
void
reserve
(
size_t
)
nogil
void
resize
(
size_t
)
void
resize
(
size_t
)
nogil
void
resize
(
size_t
,
T
&
)
void
resize
(
size_t
,
T
&
)
nogil
size_t
size
()
size_t
size
()
nogil
void
swap
(
vector
&
)
void
swap
(
vector
&
)
nogil
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