@@ -19,11 +19,17 @@ #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 @@ -204,8 +210,14 @@ * 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