diff options
author | Benedikt Tutzer <benedikt.tutzer@tuwien.ac.at> | 2019-10-09 14:21:52 +0200 |
---|---|---|
committer | Benedikt Tutzer <benedikt.tutzer@tuwien.ac.at> | 2019-10-09 14:21:52 +0200 |
commit | 79be986e2248540854c3e8e1e21f5bf971079690 (patch) | |
tree | 647f9d348cc6d17e5352f480e1abfeaab9a3f64e | |
parent | 9c59a56aa495a9d73979c76b92440ad256ca0f13 (diff) | |
download | yosys-79be986e2248540854c3e8e1e21f5bf971079690.tar.gz yosys-79be986e2248540854c3e8e1e21f5bf971079690.tar.bz2 yosys-79be986e2248540854c3e8e1e21f5bf971079690.zip |
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)
-rw-r--r-- | misc/py_wrap_generator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/py_wrap_generator.py b/misc/py_wrap_generator.py index d8649e9ce..c58c3f66a 100644 --- a/misc/py_wrap_generator.py +++ b/misc/py_wrap_generator.py @@ -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 |