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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
cython
Commits
e2e92024
Commit
e2e92024
authored
Aug 11, 2012
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added 'except +' and 'nogil' declarations to shipped STL constructors
parent
3218a24e
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
29 additions
and
29 deletions
+29
-29
Cython/Includes/libcpp/deque.pxd
Cython/Includes/libcpp/deque.pxd
+4
-4
Cython/Includes/libcpp/list.pxd
Cython/Includes/libcpp/list.pxd
+3
-3
Cython/Includes/libcpp/map.pxd
Cython/Includes/libcpp/map.pxd
+2
-2
Cython/Includes/libcpp/queue.pxd
Cython/Includes/libcpp/queue.pxd
+4
-4
Cython/Includes/libcpp/set.pxd
Cython/Includes/libcpp/set.pxd
+2
-2
Cython/Includes/libcpp/stack.pxd
Cython/Includes/libcpp/stack.pxd
+2
-2
Cython/Includes/libcpp/string.pxd
Cython/Includes/libcpp/string.pxd
+5
-5
Cython/Includes/libcpp/utility.pxd
Cython/Includes/libcpp/utility.pxd
+3
-3
Cython/Includes/libcpp/vector.pxd
Cython/Includes/libcpp/vector.pxd
+4
-4
No files found.
Cython/Includes/libcpp/deque.pxd
View file @
e2e92024
...
...
@@ -18,10 +18,10 @@ cdef extern from "<deque>" namespace "std":
# pass
#cppclass const_reverse_iterator(reverse_iterator):
# pass
deque
()
deque
(
deque
&
)
deque
(
size_t
)
deque
(
size_t
,
T
&
)
deque
()
nogil
except
+
deque
(
deque
&
)
nogil
except
+
deque
(
size_t
)
nogil
except
+
deque
(
size_t
,
T
&
)
nogil
except
+
#deque[input_iterator](input_iterator, input_iterator)
T
&
operator
[](
size_t
)
nogil
#deque& operator=(deque&)
...
...
Cython/Includes/libcpp/list.pxd
View file @
e2e92024
...
...
@@ -16,9 +16,9 @@ cdef extern from "<list>" namespace "std":
# pass
#cppclass const_reverse_iterator(reverse_iterator):
# pass
list
()
list
(
list
&
)
list
(
size_t
,
T
&
)
list
()
nogil
except
+
list
(
list
&
)
nogil
except
+
list
(
size_t
,
T
&
)
nogil
except
+
#list operator=(list&)
bint
operator
==
(
list
&
,
list
&
)
nogil
bint
operator
!=
(
list
&
,
list
&
)
nogil
...
...
Cython/Includes/libcpp/map.pxd
View file @
e2e92024
...
...
@@ -18,8 +18,8 @@ cdef extern from "<map>" namespace "std":
# pass
#cppclass const_reverse_iterator(reverse_iterator):
# pass
map
()
map
(
map
&
)
map
()
nogil
except
+
map
(
map
&
)
nogil
except
+
#map(key_compare&)
U
&
operator
[](
T
&
)
nogil
#map& operator=(map&)
...
...
Cython/Includes/libcpp/queue.pxd
View file @
e2e92024
cdef
extern
from
"<queue>"
namespace
"std"
:
cdef
cppclass
queue
[
T
]:
queue
()
queue
(
queue
&
)
queue
()
nogil
except
+
queue
(
queue
&
)
nogil
except
+
#queue(Container&)
T
&
back
()
nogil
bint
empty
()
nogil
...
...
@@ -10,8 +10,8 @@ cdef extern from "<queue>" namespace "std":
void
push
(
T
&
)
nogil
size_t
size
()
nogil
cdef
cppclass
priority_queue
[
T
]:
priority_queue
()
priority_queue
(
priority_queue
&
)
priority_queue
()
nogil
except
+
priority_queue
(
priority_queue
&
)
nogil
except
+
#priority_queue(Container&)
bint
empty
()
nogil
void
pop
()
nogil
...
...
Cython/Includes/libcpp/set.pxd
View file @
e2e92024
...
...
@@ -18,8 +18,8 @@ cdef extern from "<set>" namespace "std":
# pass
#cppclass const_reverse_iterator(reverse_iterator):
# pass
set
()
nogil
set
(
set
&
)
nogil
set
()
nogil
except
+
set
(
set
&
)
nogil
except
+
#set(key_compare&)
#set& operator=(set&)
bint
operator
==
(
set
&
,
set
&
)
nogil
...
...
Cython/Includes/libcpp/stack.pxd
View file @
e2e92024
cdef
extern
from
"<stack>"
namespace
"std"
:
cdef
cppclass
stack
[
T
]:
stack
()
stack
(
stack
&
)
stack
()
nogil
except
+
stack
(
stack
&
)
nogil
except
+
#stack(Container&)
bint
empty
()
nogil
void
pop
()
nogil
...
...
Cython/Includes/libcpp/string.pxd
View file @
e2e92024
...
...
@@ -5,12 +5,12 @@ cdef extern from "<string>" namespace "std":
size_t
npos
=
-
1
cdef
cppclass
string
:
string
()
string
(
char
*
)
string
(
char
*
,
size_t
)
string
(
string
&
)
string
()
nogil
except
+
string
(
char
*
)
nogil
except
+
string
(
char
*
,
size_t
)
nogil
except
+
string
(
string
&
)
nogil
except
+
# as a string formed by a repetition of character c, n times.
string
(
size_t
,
char
)
string
(
size_t
,
char
)
nogil
except
+
const_char
*
c_str
()
nogil
const_char
*
data
()
nogil
...
...
Cython/Includes/libcpp/utility.pxd
View file @
e2e92024
...
...
@@ -2,9 +2,9 @@ cdef extern from "<utility>" namespace "std":
cdef
cppclass
pair
[
T
,
U
]:
T
first
U
second
pair
()
pair
(
pair
&
)
pair
(
T
&
,
U
&
)
pair
()
nogil
except
+
pair
(
pair
&
)
nogil
except
+
pair
(
T
&
,
U
&
)
nogil
except
+
bint
operator
==
(
pair
&
,
pair
&
)
nogil
bint
operator
!=
(
pair
&
,
pair
&
)
nogil
bint
operator
<
(
pair
&
,
pair
&
)
nogil
...
...
Cython/Includes/libcpp/vector.pxd
View file @
e2e92024
...
...
@@ -24,10 +24,10 @@ cdef extern from "<vector>" namespace "std":
# pass
#cppclass const_reverse_iterator(reverse_iterator):
# pass
vector
()
vector
(
vector
&
)
nogil
vector
(
size_t
)
nogil
vector
(
size_t
,
T
&
)
nogil
vector
()
nogil
except
+
vector
(
vector
&
)
nogil
except
+
vector
(
size_t
)
nogil
except
+
vector
(
size_t
,
T
&
)
nogil
except
+
#vector[input_iterator](input_iterator, input_iterator)
T
&
operator
[](
size_t
)
nogil
#vector& operator=(vector&)
...
...
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