Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
285bba76
"vscode:/vscode.git/clone" did not exist on "df5407fb53b80a680b8cfa0d7b8646ca9ae80d40"
Commit
285bba76
authored
Aug 14, 2016
by
Davis King
Browse files
Fixed dlib.range's iterator interface to work in python 3.
parent
eec40e4f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tools/python/src/basic.cpp
tools/python/src/basic.cpp
+2
-1
No files found.
tools/python/src/basic.cpp
View file @
285bba76
...
@@ -189,7 +189,8 @@ void bind_basic_types()
...
@@ -189,7 +189,8 @@ void bind_basic_types()
.
def_pickle
(
serialize_pickle
<
range_type
>
());
.
def_pickle
(
serialize_pickle
<
range_type
>
());
class_
<
range_iter
>
(
"_range_iter"
)
class_
<
range_iter
>
(
"_range_iter"
)
.
def
(
"next"
,
&
range_iter
::
next
);
.
def
(
"next"
,
&
range_iter
::
next
)
.
def
(
"__next__"
,
&
range_iter
::
next
);
{
{
typedef
std
::
vector
<
std
::
pair
<
unsigned
long
,
unsigned
long
>
>
type
;
typedef
std
::
vector
<
std
::
pair
<
unsigned
long
,
unsigned
long
>
>
type
;
...
...
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