Differences From Artifact [1b4f95e1e9]:
- File src/OFStdIOStream.h — part of check-in [9e76144ef8] at 2015-06-13 22:26:05 on branch trunk — Add support for and use the new nullability (user: js, size: 1424) [annotate] [blame] [check-ins using]
To Artifact [75654b8c7a]:
- File
src/OFStdIOStream.h
— part of check-in
[b7097a67b6]
at
2015-06-14 10:45:10
on branch trunk
— Add OF_NONNULL / OF_NULLABLE and use that instead
Using __nonnull directly doesn't work on systems using glibc, as glibc
defines __nonnull as a parameterized define. While this does not fix the
problem of Clang introducing __nonnull even though it conflicts with
glibc, this at least means it's possible again to compile things with
versions of Clang that don't support __nonnull on systems with glibc. (user: js, size: 1427) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
37 38 39 40 41 42 43 | extern "C" { #endif /*! @file */ /*! * @brief The standard input as an OFStream. */ | | | | | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | extern "C" { #endif /*! @file */ /*! * @brief The standard input as an OFStream. */ extern OFStdIOStream *OF_NULLABLE of_stdin; /*! * @brief The standard output as an OFStream. */ extern OFStdIOStream *OF_NULLABLE of_stdout; /*! * @brief The standard error as an OFStream. */ extern OFStdIOStream *OF_NULLABLE of_stderr; extern void of_log(OFConstantString*, ...); #ifdef __cplusplus } #endif OF_ASSUME_NONNULL_END |