mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
([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:
parent
5db39dd616
commit
c29b522cfe
1 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@
|
|||
#include <objects/CStreaming.h>
|
||||
#include <objects/CStream.h>
|
||||
#include <objects/TextCStream.h>
|
||||
#include <objects/BinaryCStream.h>
|
||||
#include <objects/StdioStream.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSGeometry.h>
|
||||
|
@ -95,7 +96,7 @@ my_object_is_class(id object)
|
|||
if (self == [Coder class])
|
||||
{
|
||||
default_stream_class = [MemoryStream class];
|
||||
default_cstream_class = [TextCStream class];
|
||||
default_cstream_class = [BinaryCStream class];
|
||||
assert(sizeof(void*) == sizeof(unsigned));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue