parameters: (self, body=None, headers=None, include_dirs=None, lang="c")
return_statement: return ok
docstring: Construct a source file from 'body' (a string containing lines
          of C/C++ code) and 'headers' (a list of header files to include)
          and run it through the preprocessor.  Return true if the
          preprocessor succeeded, false if there were any errors.
          ('body' probably isn't of much use, but what the heck.)
docstring_summary: Construct a source file from 'body' (a string containing lines
          of C/C++ code) and 'headers' (a list of header files to include)
          and run it through the preprocessor.  Return true if the
          preprocessor succeeded, false if there were any errors.
          ('body' probably isn't of much use, but what the heck.)
docstring_tokens: Construct a source file from body ( a string containing lines of C / C ++ code ) and headers ( a list of header files to include ) and run it through the preprocessor . Return true if the preprocessor succeeded false if there were any errors . ( body probably isn t of much use but what the heck . )
function: def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"):
          """Construct a source file from 'body' (a string containing lines
          of C/C++ code) and 'headers' (a list of header files to include)
          and run it through the preprocessor.  Return true if the
          preprocessor succeeded, false if there were any errors.
          ('body' probably isn't of much use, but what the heck.)
          """
          from distutils.ccompiler import CompileError
          self._check_compiler()
          ok = 1
          try:
              self._preprocess(body, headers, include_dirs, lang)
          except CompileError:
              ok = 0
  
          self._clean()
          return ok
function_tokens: def try_cpp ( self , body = None , headers = None , include_dirs = None , lang = "c" ) : from distutils . ccompiler import CompileError self . _check_compiler ( ) ok = 1 try : self . _preprocess ( body , headers , include_dirs , lang ) except CompileError : ok = 0 self . _clean ( ) return ok