ObjFW  Diff

Differences From Artifact [3c94bae91e]:

To Artifact [ae1870f5f2]:


29
30
31
32
33
34
35
36

37
38
39
40
41
42
43
44
29
30
31
32
33
34
35

36

37
38
39
40
41
42
43







-
+
-







@interface OFMutableString: OFString
/**
 * @brief Sets the character at the specified index.
 *
 * @param character The character to set
 * @param index The index where to set the character
 */
- (void)setCharacter: (of_unichar_t)character
- (void)setCharacter: (of_unichar_t)character atIndex: (size_t)index;
	     atIndex: (size_t)index;

/**
 * @brief Appends another OFString to the OFMutableString.
 *
 * @param string An OFString to append
 */
- (void)appendString: (OFString *)string;
107
108
109
110
111
112
113
114

115
116
117
118
119
120
121
122
106
107
108
109
110
111
112

113

114
115
116
117
118
119
120







-
+
-







 * See printf for the format syntax. As an addition, `%@` is available as
 * format specifier for objects, `%C` for `of_unichar_t` and `%S` for
 * `const of_unichar_t *`.
 *
 * @param format A format string which generates the string to append
 * @param arguments The arguments used in the format string
 */
- (void)appendFormat: (OFConstantString *)format
- (void)appendFormat: (OFConstantString *)format arguments: (va_list)arguments;
	   arguments: (va_list)arguments;

/**
 * @brief Prepends another OFString to the OFMutableString.
 *
 * @param string An OFString to prepend
 */
- (void)prependString: (OFString *)string;
147
148
149
150
151
152
153
154

155
156
157
158
159
160
161
162
145
146
147
148
149
150
151

152

153
154
155
156
157
158
159







-
+
-








/**
 * @brief Inserts a string at the specified index.
 *
 * @param string The string to insert
 * @param index The index
 */
- (void)insertString: (OFString *)string
- (void)insertString: (OFString *)string atIndex: (size_t)index;
	     atIndex: (size_t)index;

/**
 * @brief Deletes the characters at the specified range.
 *
 * @param range The range of the characters which should be removed
 */
- (void)deleteCharactersInRange: (of_range_t)range;