253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
|
if (string_ == nil)
@throw [OFInvalidArgumentException newWithClass: isa
selector: _cmd];
[self appendCString: [string_ cString]];
}
- (void)appendFormat: (OFString*)format, ...
{
va_list arguments;
va_start(arguments, format);
[self appendFormat: format
withArguments: arguments];
va_end(arguments);
}
- (void)appendFormat: (OFString*)format
withArguments: (va_list)arguments
{
char *t;
int len;
if (format == nil)
@throw [OFInvalidArgumentException newWithClass: isa
|
|
|
|
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
|
if (string_ == nil)
@throw [OFInvalidArgumentException newWithClass: isa
selector: _cmd];
[self appendCString: [string_ cString]];
}
- (void)appendFormat: (OFConstantString*)format, ...
{
va_list arguments;
va_start(arguments, format);
[self appendFormat: format
withArguments: arguments];
va_end(arguments);
}
- (void)appendFormat: (OFConstantString*)format
withArguments: (va_list)arguments
{
char *t;
int len;
if (format == nil)
@throw [OFInvalidArgumentException newWithClass: isa
|