246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
|
@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) {
free(ctx->buf);
@throw e;
} @finally {
[pool release];
}
|
|
<
|
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
|
@try {
id obj;
if ((obj = va_arg(ctx->args, id)) != nil)
tmp_len = asprintf(&tmp, ctx->subfmt,
[[obj description] cString]);
else
tmp_len = asprintf(&tmp, ctx->subfmt, "(nil)");
} @catch (id e) {
free(ctx->buf);
@throw e;
} @finally {
[pool release];
}
|