diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-11-13 09:44:53 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-19 10:48:48 -0800 |
| commit | 99af21565db04871af522b7ed9f584cad1c323cb (patch) | |
| tree | d1a6c566daf1e37e49b04e2cf48ab27f436dae91 /mesonbuild/compilers/compilers.py | |
| parent | 0c8dcc8138bf47a73ff3add1c1a09ee900797f03 (diff) | |
| download | meson-99af21565db04871af522b7ed9f584cad1c323cb.tar.gz | |
compilers: Remove Environment parameter from Compiler.has_type
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
| -rw-r--r-- | mesonbuild/compilers/compilers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 64ef53cd6..46d74a8cd 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -569,7 +569,7 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta): dependencies: T.Optional[T.List['Dependency']] = None) -> T.Tuple[bool, bool]: raise EnvironmentException('%s does not support has_member(s) ' % self.get_id()) - def has_type(self, typename: str, prefix: str, env: 'Environment', + def has_type(self, typename: str, prefix: str, extra_args: T.Union[T.List[str], T.Callable[[CompileCheckMode], T.List[str]]], *, dependencies: T.Optional[T.List['Dependency']] = None) -> T.Tuple[bool, bool]: raise EnvironmentException('%s does not support has_type ' % self.get_id()) |
