ObjFW  Diff

Differences From Artifact [ad729fbb54]:

To Artifact [ed7d8ab9b7]:


140
141
142
143
144
145
146








147
148
149
150
151
 * Writes a string into the stream with a trailing newline.
 *
 * \param str The string from which the data is written to the stream
 * \return The number of bytes written
 */
- (size_t)writeLine: (OFString*)str;









/**
 * Closes the stream.
 */
- close;
@end







>
>
>
>
>
>
>
>





140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
 * Writes a string into the stream with a trailing newline.
 *
 * \param str The string from which the data is written to the stream
 * \return The number of bytes written
 */
- (size_t)writeLine: (OFString*)str;

/**
 * Writes a formatted string into the stream.
 *
 * \param fmt A string used as format
 * \return The number of bytes written
 */
- (size_t)writeFormat: (OFString*)fmt, ...;

/**
 * Closes the stream.
 */
- close;
@end