Overview
Comment: | Allow nil for %@. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
e9c2c2c5992c3f98e7f8234300773ece |
User & Date: | js on 2011-01-30 00:24:17 |
Other Links: | manifest | tags |
Context
2011-01-30
| ||
12:00 | {} is not required for doxygen anymore. check-in: be0af07922 user: js tags: trunk | |
00:24 | Allow nil for %@. check-in: e9c2c2c599 user: js tags: trunk | |
2011-01-29
| ||
19:16 | Use %@ where it is useful. check-in: d0eace5cd1 user: js tags: trunk | |
Changes
Modified src/of_asprintf.m from [939c56bbd9] to [07a6d8ae59].
︙ | ︙ | |||
248 249 250 251 252 253 254 | pool = [[OFAutoreleasePool alloc] init]; } @catch (id e) { [e release]; return false; } @try { | | < > | > > > > | 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 | pool = [[OFAutoreleasePool alloc] init]; } @catch (id e) { [e release]; return false; } @try { id obj; if ((obj = va_arg(ctx->args, id)) != nil) tmp_len = asprintf(&tmp, ctx->subfmt, [[obj description] cString]); else if (!append_str(ctx, "(nil)", 5)) return false; } @catch (id e) { [e release]; return false; } @finally { [pool release]; } |
︙ | ︙ |