• Home
  • Raw
  • Download

Lines Matching full:headers

107     def _gen_temp_sourcefile(self, body, headers, lang):  argument
110 if headers:
111 for header in headers:
119 def _preprocess(self, body, headers, include_dirs, lang): argument
120 src = self._gen_temp_sourcefile(body, headers, lang)
126 def _compile(self, body, headers, include_dirs, lang): argument
127 src = self._gen_temp_sourcefile(body, headers, lang)
135 def _link(self, body, headers, include_dirs, libraries, library_dirs, argument
137 (src, obj) = self._compile(body, headers, include_dirs, lang)
172 def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): argument
174 of C/C++ code) and 'headers' (a list of header files to include)
183 self._preprocess(body, headers, include_dirs, lang)
190 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, argument
195 string containing a regex. If both 'body' and 'headers' are None,
200 src, out = self._preprocess(body, headers, include_dirs, lang)
218 def try_compile(self, body, headers=None, include_dirs=None, lang="c"): argument
219 """Try to compile a source file built from 'body' and 'headers'.
225 self._compile(body, headers, include_dirs, lang)
234 def try_link(self, body, headers=None, include_dirs=None, libraries=None, argument
237 'headers', to executable form. Return true on success, false
243 self._link(body, headers, include_dirs,
253 def try_run(self, body, headers=None, include_dirs=None, libraries=None, argument
256 built from 'body' and 'headers'. Return true on success, false
262 src, obj, exe = self._link(body, headers, include_dirs,
278 def check_func(self, func, headers=None, include_dirs=None, argument
285 files listed in 'headers'. If 'decl' is true, it then declares
286 'func' (as "int func()"); you probably shouldn't supply 'headers'
305 return self.try_link(body, headers, include_dirs,
308 def check_lib(self, library, library_dirs=None, headers=None, argument
312 by it. 'headers' will be used in constructing the source file to
319 return self.try_link("int main (void) { }", headers, include_dirs,
328 return self.try_cpp(body="/* No body */", headers=[header],