diff options
Diffstat (limited to 'mesonbuild/templates/ctemplates.py')
| -rw-r--r-- | mesonbuild/templates/ctemplates.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mesonbuild/templates/ctemplates.py b/mesonbuild/templates/ctemplates.py index 0c7141a62..16e6c4447 100644 --- a/mesonbuild/templates/ctemplates.py +++ b/mesonbuild/templates/ctemplates.py @@ -13,9 +13,10 @@ # limitations under the License. from __future__ import annotations -from mesonbuild.templates.sampleimpl import SampleImpl import re +from mesonbuild.templates.sampleimpl import SampleImpl + lib_h_template = '''#pragma once #if defined _WIN32 || defined __CYGWIN__ @@ -126,10 +127,6 @@ test('basic', exe) class CProject(SampleImpl): - def __init__(self, options): - super().__init__() - self.name = options.name - self.version = options.version def create_executable(self) -> None: lowercase_token = re.sub(r'[^a-z0-9]', '_', self.name.lower()) |
