24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#include <sys/types.h>
#import "OFObject.h"
#import "OFSerialization.h"
#import "OFJSONRepresentation.h"
#import "OFMessagePackRepresentation.h"
/*! @file */
/*!
* @brief The C type of a number stored in an OFNumber.
*/
typedef enum {
/*! bool */
|
>
>
|
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#include <sys/types.h>
#import "OFObject.h"
#import "OFSerialization.h"
#import "OFJSONRepresentation.h"
#import "OFMessagePackRepresentation.h"
OF_ASSUME_NONNULL_BEGIN
/*! @file */
/*!
* @brief The C type of a number stored in an OFNumber.
*/
typedef enum {
/*! bool */
|
809
810
811
812
813
814
815
816
817
818
819
820
|
/*!
* @brief Returns the OFNumber as a double.
*
* @return The OFNumber as a double
*/
- (double)doubleValue;
@end
#ifndef NSINTEGER_DEFINED
/* Required for number literals to work */
@compatibility_alias NSNumber OFNumber;
#endif
|
>
>
|
811
812
813
814
815
816
817
818
819
820
821
822
823
824
|
/*!
* @brief Returns the OFNumber as a double.
*
* @return The OFNumber as a double
*/
- (double)doubleValue;
@end
OF_ASSUME_NONNULL_END
#ifndef NSINTEGER_DEFINED
/* Required for number literals to work */
@compatibility_alias NSNumber OFNumber;
#endif
|