ObjFW  Diff

Differences From Artifact [4e34f334ab]:

To Artifact [c3892e8bd0]:


17
18
19
20
21
22
23



24



25
26
27
28
29
30
31
#include <sys/types.h>

#import "OFSeekableStream.h"

@class OFArray;
@class OFDate;




extern void of_log(OFConstantString*, ...);




/**
 * \brief A class which provides functions to read, write and manipulate files.
 */
@interface OFFile: OFSeekableStream
{
	int  fd;







>
>
>

>
>
>







17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include <sys/types.h>

#import "OFSeekableStream.h"

@class OFArray;
@class OFDate;

#ifdef __cplusplus
extern "C" {
#endif
extern void of_log(OFConstantString*, ...);
#ifdef __cplusplus
}
#endif

/**
 * \brief A class which provides functions to read, write and manipulate files.
 */
@interface OFFile: OFSeekableStream
{
	int  fd;
202
203
204
205
206
207
208



209
210
211



 *
 * \param fd A file descriptor, returned from for example open().
 *	     It is not closed when the OFFile object is deallocated!
 */
- initWithFileDescriptor: (int)fd;
@end




extern OFFile *of_stdin;
extern OFFile *of_stdout;
extern OFFile *of_stderr;










>
>
>



>
>
>
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
 *
 * \param fd A file descriptor, returned from for example open().
 *	     It is not closed when the OFFile object is deallocated!
 */
- initWithFileDescriptor: (int)fd;
@end

#ifdef __cplusplus
extern "C" {
#endif
extern OFFile *of_stdin;
extern OFFile *of_stdout;
extern OFFile *of_stderr;
#ifdef __cplusplus
}
#endif