mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@361 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
437bd9228e
commit
2a6015020f
8 changed files with 625 additions and 0 deletions
18
Testing/nsarchiving.m
Normal file
18
Testing/nsarchiving.m
Normal file
|
@ -0,0 +1,18 @@
|
|||
#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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue