([Coder +initialize]): Make BinaryCStream the default, not TextCStream.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@859 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1996-01-26 20:17:19 +00:00
parent 5db39dd616
commit c29b522cfe

View file

@ -34,6 +34,7 @@
#include <objects/CStreaming.h> #include <objects/CStreaming.h>
#include <objects/CStream.h> #include <objects/CStream.h>
#include <objects/TextCStream.h> #include <objects/TextCStream.h>
#include <objects/BinaryCStream.h>
#include <objects/StdioStream.h> #include <objects/StdioStream.h>
#include <Foundation/NSException.h> #include <Foundation/NSException.h>
#include <Foundation/NSGeometry.h> #include <Foundation/NSGeometry.h>
@ -95,7 +96,7 @@ my_object_is_class(id object)
if (self == [Coder class]) if (self == [Coder class])
{ {
default_stream_class = [MemoryStream class]; default_stream_class = [MemoryStream class];
default_cstream_class = [TextCStream class]; default_cstream_class = [BinaryCStream class];
assert(sizeof(void*) == sizeof(unsigned)); assert(sizeof(void*) == sizeof(unsigned));
} }
} }