diff --git a/Headers/gnustep/base/CStream.h b/Headers/gnustep/base/CStream.h index 8ea585ae2..aca06ada2 100644 --- a/Headers/gnustep/base/CStream.h +++ b/Headers/gnustep/base/CStream.h @@ -35,7 +35,7 @@ int indentation; } -/* These are standard ways to create a new CStream from a Stream +/* These are the standard ways to create a new CStream from a Stream that is open for reading. It reads the CStream signature at the beginning of the file, and automatically creates the appropriate subclass of CStream with @@ -47,6 +47,10 @@ that is open for writing. */ - initForWritingToFile: (id ) filename; - initForWritingToStream: (id ) stream; + +- initForWritingToStream: (id ) s + withFormatVersion: (int)version; + + cStreamWritingToStream: (id ) stream; + cStreamWritingToFile: (id ) filename; diff --git a/Source/objects/CStream.h b/Source/objects/CStream.h index 8ea585ae2..aca06ada2 100644 --- a/Source/objects/CStream.h +++ b/Source/objects/CStream.h @@ -35,7 +35,7 @@ int indentation; } -/* These are standard ways to create a new CStream from a Stream +/* These are the standard ways to create a new CStream from a Stream that is open for reading. It reads the CStream signature at the beginning of the file, and automatically creates the appropriate subclass of CStream with @@ -47,6 +47,10 @@ that is open for writing. */ - initForWritingToFile: (id ) filename; - initForWritingToStream: (id ) stream; + +- initForWritingToStream: (id ) s + withFormatVersion: (int)version; + + cStreamWritingToStream: (id ) stream; + cStreamWritingToFile: (id ) filename;