mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Remove ivars; behavior code now handles instance_size.
Move NSGUnarchiver here from NSGUnarchiver.h. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@854 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
89ff735912
commit
e81f3b621e
1 changed files with 7 additions and 20 deletions
|
@ -1,5 +1,5 @@
|
|||
/* Interface to concrete implementation of NSArchiver
|
||||
Copyright (C) 1995 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
|
||||
Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
|
||||
Date: April 1995
|
||||
|
@ -26,31 +26,18 @@
|
|||
|
||||
#include <objects/stdobjects.h>
|
||||
#include <Foundation/NSArchiver.h>
|
||||
#include <objects/Stream.h>
|
||||
#include <objects/Dictionary.h>
|
||||
#include <objects/Stack.h>
|
||||
#include <objects/Coding.h>
|
||||
|
||||
@interface NSGArchiver : NSArchiver
|
||||
{
|
||||
/* For now, these must match the instance variables in foundation/NSGCoder.h.
|
||||
This will change. */
|
||||
int format_version;
|
||||
int concrete_format_version;
|
||||
Stream *stream;
|
||||
BOOL is_decoding;
|
||||
BOOL doing_root_object;
|
||||
Dictionary *object_table; /* read/written objects */
|
||||
Dictionary *const_ptr_table; /* read/written const *'s */
|
||||
Stack *root_object_tables; /* Stack of Dicts for interconnt'd objs */
|
||||
Stack *forward_object_tables; /* Stack of Dictionaries for frwd refs */
|
||||
|
||||
NSZone *object_zone;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@interface NSGArchiver (GNU) <Encoding>
|
||||
@end
|
||||
|
||||
@interface NSGUnarchiver : NSArchiver
|
||||
@end
|
||||
|
||||
@interface NSGUnarchiver (GNU) <Decoding>
|
||||
@end
|
||||
|
||||
#endif /* __NSGArchiver_h_OBJECTS_INCLUDE */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue