(self, hname: str, prefix: str, env: 'Environment', *,
                   extra_args: T.Union[None, T.List[str], T.Callable[['CompileCheckMode'], T.List[str]]] = None,
                   dependencies: T.Optional[T.List['Dependency']] = None,
                   disable_cache: bool = False)
return self.compiles(code, env, extra_args=extra_args,
                             dependencies=dependencies, mode='preprocess', disable_cache=disable_cache)
Derived from mixins/clike.py:has_header, but without C-style usage of
        __has_include which breaks with GCC-Fortran 10:
        https://github.com/mesonbuild/meson/issues/7017
Derived from mixins/clike.py:has_header, but without C-style usage of
        __has_include which breaks with GCC-Fortran 10:
        https://github.com/mesonbuild/meson/issues/7017
Derived from mixins / clike . py : has_header but without C - style usage of __has_include which breaks with GCC - Fortran 10 : https : // github . com / mesonbuild / meson / issues / 7017
def has_header(self, hname: str, prefix: str, env: 'Environment', *,
                   extra_args: T.Union[None, T.List[str], T.Callable[['CompileCheckMode'], T.List[str]]] = None,
                   dependencies: T.Optional[T.List['Dependency']] = None,
                   disable_cache: bool = False) -> T.Tuple[bool, bool]:
        '''
        Derived from mixins/clike.py:has_header, but without C-style usage of
        __has_include which breaks with GCC-Fortran 10:
        https://github.com/mesonbuild/meson/issues/7017
        '''
        code = f'{prefix}\n#include <{hname}>'
        return self.compiles(code, env, extra_args=extra_args,
                             dependencies=dependencies, mode='preprocess', disable_cache=disable_cache)
def has_header ( self , hname : str , prefix : str , env : 'Environment' , * , extra_args : T . Union [ None , T . List [ str ] , T . Callable [ [ 'CompileCheckMode' ] , T . List [ str ] ] ] = None , dependencies : T . Optional [ T . List [ 'Dependency' ] ] = None , disable_cache : bool = False ) -> T . Tuple [ bool , bool ] : code = f'{prefix}\n#include <{hname}>' return self . compiles ( code , env , extra_args = extra_args , dependencies = dependencies , mode = 'preprocess' , disable_cache = disable_cache )