parameters: (sources, startup_blob)
docstring: Write a startup blob, as expected by V8 Initialize ...
      TODO(vogelheim): Add proper method name.
  
    Args:
      sources: A Sources instance with the prepared sources.
      startup_blob_file: Name of file to write the blob to.
docstring_summary: Write a startup blob, as expected by V8 Initialize ...
      TODO(vogelheim): Add proper method name.
docstring_tokens: Write a startup blob as expected by V8 Initialize ... TODO ( vogelheim ) : Add proper method name .
function: def WriteStartupBlob(sources, startup_blob):
    """Write a startup blob, as expected by V8 Initialize ...
      TODO(vogelheim): Add proper method name.
  
    Args:
      sources: A Sources instance with the prepared sources.
      startup_blob_file: Name of file to write the blob to.
    """
    output = open(startup_blob, "wb")
  
    debug_sources = sum(sources.is_debugger_id);
    PutInt(output, debug_sources)
    for i in xrange(debug_sources):
      PutStr(output, sources.names[i]);
      PutStr(output, sources.modules[i]);
  
    PutInt(output, len(sources.names) - debug_sources)
    for i in xrange(debug_sources, len(sources.names)):
      PutStr(output, sources.names[i]);
      PutStr(output, sources.modules[i]);
  
    output.close()
function_tokens: def WriteStartupBlob ( sources , startup_blob ) : output = open ( startup_blob , "wb" ) debug_sources = sum ( sources . is_debugger_id ) PutInt ( output , debug_sources ) for i in xrange ( debug_sources ) : PutStr ( output , sources . names [ i ] ) PutStr ( output , sources . modules [ i ] ) PutInt ( output , len ( sources . names ) - debug_sources ) for i in xrange ( debug_sources , len ( sources . names ) ) : PutStr ( output , sources . names [ i ] ) PutStr ( output , sources . modules [ i ] ) output . close ( )