mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-27 10:40:50 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@391 72102866-910b-0410-8b05-ffd578937521
18 lines
340 B
Objective-C
18 lines
340 B
Objective-C
#include <Foundation/NSArchiver.h>
|
|
#include <Foundation/NSArray.h>
|
|
#include <Foundation/NSString.h>
|
|
|
|
int
|
|
main ()
|
|
{
|
|
id a = [NSArray arrayWithObjects:
|
|
[NSObject class],
|
|
[NSArray class],
|
|
nil];
|
|
[NSArchiver archiveRootObject:a toFile:@"./nsarchiving.data"];
|
|
[a release];
|
|
|
|
/* NSUnarchiver not available yet. */
|
|
|
|
exit (0);
|
|
}
|