Fix renaming all classes to Cpp*

(This is only relevant for classes that are exposed twice, one time as a
base class and one time as a derived class that can in turn be
overridden in python, but actually all others were renamed)
This commit is contained in:
Benedikt Tutzer 2019-10-09 14:21:52 +02:00
parent 9c59a56aa4
commit 79be986e22
1 changed files with 2 additions and 2 deletions

View File

@ -909,14 +909,14 @@ class WClass:
def gen_boost_py(self):
body = self.gen_boost_py_body()
if self.link_type == link_types.derive:
text = "\n\t\tclass_<" + self.name + ">(\"" + self.name + "\""
text = "\n\t\tclass_<" + self.name + ">(\"Cpp" + self.name + "\""
text += body
text += "\n\t\tclass_<" + self.name
text += "Wrap, boost::noncopyable"
text += ">(\"" + self.name + "\""
text += body
else:
text = "\n\t\tclass_<" + self.name + ">(\"Cpp" + self.name + "\""
text = "\n\t\tclass_<" + self.name + ">(\"" + self.name + "\""
text += body
return text