parameters: (self, pattern, body=None, headers=None, include_dirs=None,
                     lang="c")
return_statement: return match
docstring: Construct a source file (just like 'try_cpp()'), run it through
          the preprocessor, and return true if any line of the output matches
          'pattern'.  'pattern' should either be a compiled regex object or a
          string containing a regex.  If both 'body' and 'headers' are None,
          preprocesses an empty file -- which can be useful to determine the
          symbols the preprocessor and compiler set by default.
docstring_summary: Construct a source file (just like 'try_cpp()'), run it through
          the preprocessor, and return true if any line of the output matches
          'pattern'.  'pattern' should either be a compiled regex object or a
          string containing a regex.  If both 'body' and 'headers' are None,
          preprocesses an empty file -- which can be useful to determine the
          symbols the preprocessor and compiler set by default.
docstring_tokens: Construct a source file ( just like try_cpp () ) run it through the preprocessor and return true if any line of the output matches pattern . pattern should either be a compiled regex object or a string containing a regex . If both body and headers are None preprocesses an empty file -- which can be useful to determine the symbols the preprocessor and compiler set by default .
function: def search_cpp(self, pattern, body=None, headers=None, include_dirs=None,
                     lang="c"):
          """Construct a source file (just like 'try_cpp()'), run it through
          the preprocessor, and return true if any line of the output matches
          'pattern'.  'pattern' should either be a compiled regex object or a
          string containing a regex.  If both 'body' and 'headers' are None,
          preprocesses an empty file -- which can be useful to determine the
          symbols the preprocessor and compiler set by default.
          """
          self._check_compiler()
          src, out = self._preprocess(body, headers, include_dirs, lang)
  
          if isinstance(pattern, str):
              pattern = re.compile(pattern)
  
          file = open(out)
          match = 0
          while 1:
              line = file.readline()
              if line == '':
                  break
              if pattern.search(line):
                  match = 1
                  break
  
          file.close()
          self._clean()
          return match
function_tokens: def search_cpp ( self , pattern , body = None , headers = None , include_dirs = None , lang = "c" ) : self . _check_compiler ( ) src , out = self . _preprocess ( body , headers , include_dirs , lang ) if isinstance ( pattern , str ) : pattern = re . compile ( pattern ) file = open ( out ) match = 0 while 1 : line = file . readline ( ) if line == '' : break if pattern . search ( line ) : match = 1 break file . close ( ) self . _clean ( ) return match