115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
@"global=yes\r\n"
@"\r\n"
@"[tests]\r\n"
@"foo=baz\r\n"
@"foobar=baz\r\n"
@";comment\r\n"
@"new=new\r\n"
@"\r\n"
@"[foobar]\r\n"
@"#foobarcomment\r\n"
@"qux=\" asd\"\r\n"
@"quxquxqux=\"hello\\\"wörld\"\r\n"
@"qux2=\"a\\n\"\r\n"
@"\"asd=asd\"=foobar\r\n"
|
>
|
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
@"global=yes\r\n"
@"\r\n"
@"[tests]\r\n"
@"foo=baz\r\n"
@"foobar=baz\r\n"
@";comment\r\n"
@"new=new\r\n"
@"\"#quoted\"=\";comment\"\r\n"
@"\r\n"
@"[foobar]\r\n"
@"#foobarcomment\r\n"
@"qux=\" asd\"\r\n"
@"quxquxqux=\"hello\\\"wörld\"\r\n"
@"qux2=\"a\\n\"\r\n"
@"\"asd=asd\"=foobar\r\n"
|
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
OFArray *array = [OFArray arrayWithObjects: @"foo", @"bar", nil];
#if defined(OF_HAVE_FILES) && !defined(OF_NINTENDO_DS)
OFIRI *writeIRI;
#endif
[tests setStringValue: @"baz" forKey: @"foo"];
[tests setStringValue: @"new" forKey: @"new"];
[foobar setStringValue: @"a\fb" forKey: @"qux3"];
[types setLongLongValue: 0x10 forKey: @"integer"];
[types setBoolValue: false forKey: @"bool"];
[types setFloatValue: 0.25f forKey: @"float"];
[types setDoubleValue: 0.75 forKey: @"double"];
[types setArrayValue: array forKey: @"array1"];
|
>
|
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
|
OFArray *array = [OFArray arrayWithObjects: @"foo", @"bar", nil];
#if defined(OF_HAVE_FILES) && !defined(OF_NINTENDO_DS)
OFIRI *writeIRI;
#endif
[tests setStringValue: @"baz" forKey: @"foo"];
[tests setStringValue: @"new" forKey: @"new"];
[tests setStringValue: @";comment" forKey: @"#quoted"];
[foobar setStringValue: @"a\fb" forKey: @"qux3"];
[types setLongLongValue: 0x10 forKey: @"integer"];
[types setBoolValue: false forKey: @"bool"];
[types setFloatValue: 0.25f forKey: @"float"];
[types setDoubleValue: 0.75 forKey: @"double"];
[types setArrayValue: array forKey: @"array1"];
|