Lines Matching refs:headers
107 def _gen_temp_sourcefile(self, body, headers, lang): argument
110 if headers:
111 for header in headers:
120 def _preprocess(self, body, headers, include_dirs, lang): argument
121 src = self._gen_temp_sourcefile(body, headers, lang)
127 def _compile(self, body, headers, include_dirs, lang): argument
128 src = self._gen_temp_sourcefile(body, headers, lang)
136 def _link(self, body, headers, include_dirs, libraries, library_dirs, argument
138 (src, obj) = self._compile(body, headers, include_dirs, lang)
173 def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): argument
184 self._preprocess(body, headers, include_dirs, lang)
191 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, argument
201 src, out = self._preprocess(body, headers, include_dirs, lang)
220 def try_compile(self, body, headers=None, include_dirs=None, lang="c"): argument
227 self._compile(body, headers, include_dirs, lang)
236 def try_link(self, body, headers=None, include_dirs=None, libraries=None, argument
245 self._link(body, headers, include_dirs,
255 def try_run(self, body, headers=None, include_dirs=None, libraries=None, argument
264 src, obj, exe = self._link(body, headers, include_dirs,
280 def check_func(self, func, headers=None, include_dirs=None, argument
307 return self.try_link(body, headers, include_dirs,
310 def check_lib(self, library, library_dirs=None, headers=None, argument
321 return self.try_link("int main (void) { }", headers, include_dirs,
330 return self.try_cpp(body="/* No body */", headers=[header],