mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
(DEFAULT_DEFAULT_FORMAT_VERSION): Renamed from DEFAULT_FORMAT_VERSION,
for clarity with variable by the same old name. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1987 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
430fead4ac
commit
dd5068589e
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
/* Abstract class for writing objects to a stream
|
||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||
|
||||
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
|
||||
Created: February 1996, with core from Coder, created 1994.
|
||||
|
@ -33,9 +33,9 @@
|
|||
static int default_format_version;
|
||||
static id default_stream_class;
|
||||
static id default_cstream_class;
|
||||
#define DEFAULT_DEFAULT_FORMAT_VERSION 0
|
||||
|
||||
static int debug_coder = 0;
|
||||
#define DEFAULT_FORMAT_VERSION 0
|
||||
|
||||
|
||||
/* xxx For experimentation. The function in objc-api.h doesn't always
|
||||
|
@ -71,7 +71,7 @@ my_object_is_class(id object)
|
|||
/* Initialize some defaults. */
|
||||
default_stream_class = [MemoryStream class];
|
||||
default_cstream_class = [BinaryCStream class];
|
||||
default_format_version = DEFAULT_FORMAT_VERSION;
|
||||
default_format_version = DEFAULT_DEFAULT_FORMAT_VERSION;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -151,7 +151,7 @@ my_object_is_class(id object)
|
|||
withCStreamClass: (Class) cStreamClass
|
||||
{
|
||||
return [self initForWritingToStream: s
|
||||
withFormatVersion: DEFAULT_FORMAT_VERSION
|
||||
withFormatVersion: DEFAULT_DEFAULT_FORMAT_VERSION
|
||||
cStreamClass: cStreamClass
|
||||
cStreamFormatVersion: [cStreamClass defaultFormatVersion]];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue