mirror of https://github.com/YosysHQ/yosys.git
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:
parent
9c59a56aa4
commit
79be986e22
|
@ -909,14 +909,14 @@ class WClass:
|
||||||
def gen_boost_py(self):
|
def gen_boost_py(self):
|
||||||
body = self.gen_boost_py_body()
|
body = self.gen_boost_py_body()
|
||||||
if self.link_type == link_types.derive:
|
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 += body
|
||||||
text += "\n\t\tclass_<" + self.name
|
text += "\n\t\tclass_<" + self.name
|
||||||
text += "Wrap, boost::noncopyable"
|
text += "Wrap, boost::noncopyable"
|
||||||
text += ">(\"" + self.name + "\""
|
text += ">(\"" + self.name + "\""
|
||||||
text += body
|
text += body
|
||||||
else:
|
else:
|
||||||
text = "\n\t\tclass_<" + self.name + ">(\"Cpp" + self.name + "\""
|
text = "\n\t\tclass_<" + self.name + ">(\"" + self.name + "\""
|
||||||
text += body
|
text += body
|
||||||
return text
|
return text
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue