Skip to content

Commit

Permalink
Fix renaming all classes to Cpp*
Browse files Browse the repository at this point in the history
(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)
  • Loading branch information
Benedikt Tutzer committed Oct 9, 2019
1 parent 9c59a56 commit 79be986
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/py_wrap_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -909,14 +909,14 @@ def gen_boost_py_body(self):
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

Expand Down

0 comments on commit 79be986

Please sign in to comment.