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
6cdd24b0
Commit
6cdd24b0
authored
Oct 06, 2010
by
Lisandro Dalcin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes and enhancements in libcpp
parent
f3e94744
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
31 additions
and
23 deletions
+31
-23
Cython/Includes/libcpp/deque.pxd
Cython/Includes/libcpp/deque.pxd
+2
-2
Cython/Includes/libcpp/list.pxd
Cython/Includes/libcpp/list.pxd
+3
-2
Cython/Includes/libcpp/map.pxd
Cython/Includes/libcpp/map.pxd
+4
-4
Cython/Includes/libcpp/pair.pxd
Cython/Includes/libcpp/pair.pxd
+1
-7
Cython/Includes/libcpp/set.pxd
Cython/Includes/libcpp/set.pxd
+4
-4
Cython/Includes/libcpp/utility.pxd
Cython/Includes/libcpp/utility.pxd
+13
-0
Cython/Includes/libcpp/vector.pxd
Cython/Includes/libcpp/vector.pxd
+4
-4
No files found.
Cython/Includes/libcpp/deque.pxd
View file @
6cdd24b0
...
...
@@ -12,8 +12,8 @@ cdef extern from "<deque>" namespace "std":
T
&
operator
*
()
iterator
operator
++
()
iterator
operator
--
()
bint
operator
==
(
iterator
)
bint
operator
!=
(
iterator
)
bint
operator
==
(
reverse_
iterator
)
bint
operator
!=
(
reverse_
iterator
)
#cppclass const_iterator(iterator):
# pass
#cppclass const_reverse_iterator(reverse_iterator):
...
...
Cython/Includes/libcpp/list.pxd
View file @
6cdd24b0
...
...
@@ -10,8 +10,8 @@ cdef extern from "<list>" namespace "std":
T
&
operator
*
()
iterator
operator
++
()
iterator
operator
--
()
bint
operator
==
(
iterator
)
bint
operator
!=
(
iterator
)
bint
operator
==
(
reverse_
iterator
)
bint
operator
!=
(
reverse_
iterator
)
#cppclass const_iterator(iterator):
# pass
#cppclass const_reverse_iterator(reverse_iterator):
...
...
@@ -30,6 +30,7 @@ cdef extern from "<list>" namespace "std":
T
&
back
()
iterator
begin
()
#const_iterator begin()
void
clear
()
bint
empty
()
iterator
end
()
#const_iterator end()
...
...
Cython/Includes/libcpp/map.pxd
View file @
6cdd24b0
from
pair
cimport
pair
from
utility
cimport
pair
cdef
extern
from
"<map>"
namespace
"std"
:
cdef
cppclass
map
[
T
,
U
]:
...
...
@@ -9,11 +9,11 @@ cdef extern from "<map>" namespace "std":
bint
operator
==
(
iterator
)
bint
operator
!=
(
iterator
)
cppclass
reverse_iterator
:
pair
[
T
,
U
]
operator
*
()
pair
[
T
,
U
]
&
operator
*
()
iterator
operator
++
()
iterator
operator
--
()
bint
operator
==
(
iterator
)
bint
operator
!=
(
iterator
)
bint
operator
==
(
reverse_
iterator
)
bint
operator
!=
(
reverse_
iterator
)
#cppclass const_iterator(iterator):
# pass
#cppclass const_reverse_iterator(reverse_iterator):
...
...
Cython/Includes/libcpp/pair.pxd
View file @
6cdd24b0
cdef
extern
from
"<utility>"
namespace
"std"
:
cdef
cppclass
pair
[
T
,
U
]:
T
first
U
second
pair
()
pair
(
pair
&
)
pair
(
T
&
,
U
&
)
from
utility
cimport
pair
Cython/Includes/libcpp/set.pxd
View file @
6cdd24b0
...
...
@@ -3,17 +3,17 @@ from pair cimport pair
cdef
extern
from
"<set>"
namespace
"std"
:
cdef
cppclass
set
[
T
]:
cppclass
iterator
:
T
operator
*
()
T
&
operator
*
()
iterator
operator
++
()
iterator
operator
--
()
bint
operator
==
(
iterator
)
bint
operator
!=
(
iterator
)
cppclass
reverse_iterator
:
T
operator
*
()
T
&
operator
*
()
iterator
operator
++
()
iterator
operator
--
()
bint
operator
==
(
iterator
)
bint
operator
!=
(
iterator
)
bint
operator
==
(
reverse_
iterator
)
bint
operator
!=
(
reverse_
iterator
)
#cppclass const_iterator(iterator):
# pass
#cppclass const_reverse_iterator(reverse_iterator):
...
...
Cython/Includes/libcpp/utility.pxd
0 → 100644
View file @
6cdd24b0
cdef
extern
from
"<utility>"
namespace
"std"
:
cdef
cppclass
pair
[
T
,
U
]:
T
first
U
second
pair
()
pair
(
pair
&
)
pair
(
T
&
,
U
&
)
bint
operator
==
(
pair
&
,
pair
&
)
bint
operator
!=
(
pair
&
,
pair
&
)
bint
operator
<
(
pair
&
,
pair
&
)
bint
operator
>
(
pair
&
,
pair
&
)
bint
operator
<=
(
pair
&
,
pair
&
)
bint
operator
>=
(
pair
&
,
pair
&
)
Cython/Includes/libcpp/vector.pxd
View file @
6cdd24b0
...
...
@@ -6,8 +6,8 @@ cdef extern from "<vector>" namespace "std":
iterator
operator
--
()
bint
operator
==
(
iterator
)
bint
operator
!=
(
iterator
)
bint
operator
<
(
iterator
)
bint
operator
>
(
iterator
)
bint
operator
<
(
iterator
)
bint
operator
>
(
iterator
)
bint
operator
<=
(
iterator
)
bint
operator
>=
(
iterator
)
cppclass
reverse_iterator
:
...
...
@@ -16,8 +16,8 @@ cdef extern from "<vector>" namespace "std":
iterator
operator
--
()
bint
operator
==
(
reverse_iterator
)
bint
operator
!=
(
reverse_iterator
)
bint
operator
<
(
reverse_iterator
)
bint
operator
>
(
reverse_iterator
)
bint
operator
<
(
reverse_iterator
)
bint
operator
>
(
reverse_iterator
)
bint
operator
<=
(
reverse_iterator
)
bint
operator
>=
(
reverse_iterator
)
#cppclass const_iterator(iterator):
...
...
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