Ejemplo n.º 1
0
 public void WriteHeaderFile(CSourceFile parsedFile, Stream outStream)
 {
     using (var writer = new StreamWriter(outStream))
     {
         using (var includeGuardWriter = new IncludeGuardWriter(writer, this.IncludeGuard))
         {
             WriteHeaderComment(writer, this.HeaderComment);
             parsedFile.WritePPDefinitions(writer);
             parsedFile.WriteDeclarations(writer, this.IncludeStaticFunctions, this.IncludeExternFunctions);
         }
     }
 }
Ejemplo n.º 2
0
 public void WriteHeaderFile(CSourceFile parsedFile, Stream outStream)
 {
     using (var writer = new StreamWriter(outStream))
     {
         using (var includeGuardWriter = new IncludeGuardWriter(writer, this.IncludeGuard))
         {
             WriteHeaderComment(writer, this.HeaderComment);
             parsedFile.WritePPDefinitions(writer);
             parsedFile.WriteDeclarations(writer, this.IncludeStaticFunctions, this.IncludeExternFunctions);
         }
     }
 }