ObjFW  Check-in [577023d300]

Overview
Comment:Remove useless convenience method.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 577023d300a4e48a1587cf75b5102018a2a1e24e2a4449ffa7d2e3c50ab3c35c
User & Date: js on 2009-05-18 18:24:29
Other Links: manifest | tags
Context
2009-05-18
18:42
A few more convenience methods for OFArray. check-in: b3a8c9c4dd user: js tags: trunk
18:24
Remove useless convenience method. check-in: 577023d300 user: js tags: trunk
18:15
Introduce OFMutableCopying protocol. check-in: 79e1893b40 user: js tags: trunk
Changes

Modified src/OFString.h from [99a279b1da] to [ffb53e2845].

52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
 * See printf for the format syntax.
 *
 * \param fmt A string used as format to initialize the OFMutableString
 * \return A new autoreleased OFMutableString
 */
+ stringWithFormat: (OFString*)fmt, ...;

/**
 * Creates a new OFString from a format C string.
 * See printf for the format syntax.
 *
 * \param fmt A string used as format to initialize the OFMutableString
 * \param args The arguments used in the format string
 * \return A new autoreleased OFMutableString
 */
+ stringWithFormat: (OFString*)fmt
      andArguments: (va_list)args;

/**
 * Initializes an already allocated OFString.
 *
 * \return An initialized OFString
 */
- init;








<
<
<
<
<
<
<
<
<
<
<







52
53
54
55
56
57
58











59
60
61
62
63
64
65
 * See printf for the format syntax.
 *
 * \param fmt A string used as format to initialize the OFMutableString
 * \return A new autoreleased OFMutableString
 */
+ stringWithFormat: (OFString*)fmt, ...;












/**
 * Initializes an already allocated OFString.
 *
 * \return An initialized OFString
 */
- init;

Modified src/OFString.m from [eb70c8a2e9] to [30c1114698].

126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
	ret = [[[self alloc] initWithFormat: fmt
			       andArguments: args] autorelease];
	va_end(args);

	return ret;
}

+ stringWithFormat: (OFString*)fmt
      andArguments: (va_list)args
{
	return [[[self alloc] initWithFormat: fmt
				andArguments: args] autorelease];
}

- init
{
	[super init];

	string = NULL;

	return self;







<
<
<
<
<
<
<







126
127
128
129
130
131
132







133
134
135
136
137
138
139
	ret = [[[self alloc] initWithFormat: fmt
			       andArguments: args] autorelease];
	va_end(args);

	return ret;
}








- init
{
	[super init];

	string = NULL;

	return self;