Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
2a9e252f
Commit
2a9e252f
authored
Aug 21, 2014
by
Alexander Mordvintsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix namespace conflicts (like cv::inpaint and cv::xphoto::inpaint)
whitespace fix
parent
74c77d82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gen2.py
modules/python/src2/gen2.py
+2
-2
No files found.
modules/python/src2/gen2.py
View file @
2a9e252f
...
...
@@ -509,7 +509,7 @@ class FuncInfo(object):
name
=
"getelem"
else
:
classname
=
""
return
"pyopencv_"
+
classname
+
name
return
"pyopencv_"
+
self
.
namespace
.
replace
(
'.'
,
'_'
)
+
'_'
+
classname
+
name
def
get_wrapper_prototype
(
self
):
full_fname
=
self
.
get_wrapper_name
()
...
...
@@ -760,7 +760,7 @@ class PythonWrapperGenerator(object):
del
chunks
[
-
2
]
base
=
'_'
.
join
(
chunks
)
if
base
not
in
self
.
classes
:
print
(
"Generator error: unable to resolve base
%
s for
%
s"
print
(
"Generator error: unable to resolve base
%
s for
%
s"
%
(
classinfo
.
bases
[
0
],
classinfo
.
name
))
sys
.
exit
(
-
1
)
classinfo
.
bases
[
0
]
=
"::"
.
join
(
chunks
)
...
...
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