parameters: (env)
return_statement: return (static_obj, shared_obj)
docstring: This is a utility function that creates the StaticObject
      and SharedObject Builders in an Environment if they
      are not there already.
  
      If they are there already, we return the existing ones.
  
      This is a separate function because soooo many Tools
      use this functionality.
  
      The return is a 2-tuple of (StaticObject, SharedObject)
docstring_summary: This is a utility function that creates the StaticObject
      and SharedObject Builders in an Environment if they
      are not there already.
docstring_tokens: This is a utility function that creates the StaticObject and SharedObject Builders in an Environment if they are not there already .
function: def createObjBuilders(env):
      """This is a utility function that creates the StaticObject
      and SharedObject Builders in an Environment if they
      are not there already.
  
      If they are there already, we return the existing ones.
  
      This is a separate function because soooo many Tools
      use this functionality.
  
      The return is a 2-tuple of (StaticObject, SharedObject)
      """
  
  
      try:
          static_obj = env['BUILDERS']['StaticObject']
      except KeyError:
          static_obj = SCons.Builder.Builder(action = {},
                                             emitter = {},
                                             prefix = '$OBJPREFIX',
                                             suffix = '$OBJSUFFIX',
                                             src_builder = ['CFile', 'CXXFile'],
                                             source_scanner = SourceFileScanner,
                                             single_source = 1)
          env['BUILDERS']['StaticObject'] = static_obj
          env['BUILDERS']['Object'] = static_obj
  
      try:
          shared_obj = env['BUILDERS']['SharedObject']
      except KeyError:
          shared_obj = SCons.Builder.Builder(action = {},
                                             emitter = {},
                                             prefix = '$SHOBJPREFIX',
                                             suffix = '$SHOBJSUFFIX',
                                             src_builder = ['CFile', 'CXXFile'],
                                             source_scanner = SourceFileScanner,
                                             single_source = 1)
          env['BUILDERS']['SharedObject'] = shared_obj
  
      return (static_obj, shared_obj)
function_tokens: def createObjBuilders ( env ) : try : static_obj = env [ 'BUILDERS' ] [ 'StaticObject' ] except KeyError : static_obj = SCons . Builder . Builder ( action = { } , emitter = { } , prefix = '$OBJPREFIX' , suffix = '$OBJSUFFIX' , src_builder = [ 'CFile' , 'CXXFile' ] , source_scanner = SourceFileScanner , single_source = 1 ) env [ 'BUILDERS' ] [ 'StaticObject' ] = static_obj env [ 'BUILDERS' ] [ 'Object' ] = static_obj try : shared_obj = env [ 'BUILDERS' ] [ 'SharedObject' ] except KeyError : shared_obj = SCons . Builder . Builder ( action = { } , emitter = { } , prefix = '$SHOBJPREFIX' , suffix = '$SHOBJSUFFIX' , src_builder = [ 'CFile' , 'CXXFile' ] , source_scanner = SourceFileScanner , single_source = 1 ) env [ 'BUILDERS' ] [ 'SharedObject' ] = shared_obj return ( static_obj , shared_obj )