mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 01:21:08 +00:00
(main): Use new coding scheme and @"" strings properly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@871 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cdba60bcb0
commit
d3a426f865
2 changed files with 7 additions and 4 deletions
|
@ -47,6 +47,9 @@ int main()
|
|||
|
||||
/* Write them to a file */
|
||||
|
||||
/* Create an instances of the Coder class, specify that we
|
||||
want human-readable "Text"-style, instead of "Binary"-style
|
||||
coding. */
|
||||
coder = [[Coder alloc] initForWritingToFile: @"./textcoding.txt"
|
||||
withCStreamClass: [TextCStream class]];
|
||||
[coder encodeObject:set withName:@"Test Set"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue