Commit 2a9e252f authored by Alexander Mordvintsev's avatar Alexander Mordvintsev

fix namespace conflicts (like cv::inpaint and cv::xphoto::inpaint)

whitespace fix
parent 74c77d82
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment