Differences From Artifact [6c0dda2992]:
- File
src/OFNumber.h
— part of check-in
[eced1d58ea]
at
2011-07-17 00:57:33
on branch trunk
— Get rid of unnecessary includes of unistd.h in headers.
This solves problems on systems where __block is used in unistd.h. (user: js, size: 20194) [annotate] [blame] [check-ins using]
To Artifact [434b0d067a]:
- File src/OFNumber.h — part of check-in [243a96fc2d] at 2011-12-10 13:17:52 on branch trunk — Add JSON encoding. (user: js, size: 20221) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
14 15 16 17 18 19 20 21 22 23 24 25 26 27 | * file. */ #include <sys/types.h> #import "OFObject.h" #import "OFSerialization.h" /** * \brief The type of a number. */ typedef enum of_number_type_t { OF_NUMBER_BOOL, OF_NUMBER_CHAR, | > | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | * file. */ #include <sys/types.h> #import "OFObject.h" #import "OFSerialization.h" #import "OFJSON.h" /** * \brief The type of a number. */ typedef enum of_number_type_t { OF_NUMBER_BOOL, OF_NUMBER_CHAR, |
︙ | ︙ | |||
50 51 52 53 54 55 56 | OF_NUMBER_FLOAT, OF_NUMBER_DOUBLE, } of_number_type_t; /** * \brief Provides a way to store a number in an object. */ | | | 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | OF_NUMBER_FLOAT, OF_NUMBER_DOUBLE, } of_number_type_t; /** * \brief Provides a way to store a number in an object. */ @interface OFNumber: OFObject <OFCopying, OFSerialization, OFJSON> { union of_number_value { BOOL bool_; signed char char_; signed short short_; signed int int_; signed long long_; |
︙ | ︙ |