ObjFW  Check-in [9d9881f26c]

Overview
Comment:Get rid of another ObjC++ warning.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9d9881f26c29d80a0d65b760d72f92014711f56f9a4025dc0e99d87463c0f48b
User & Date: js on 2011-02-01 21:47:23
Other Links: manifest | tags
Context
2011-02-01
22:11
Use extern "C" where useful.
Improves ObjC++ compatibility.
check-in: 03d1b71d10 user: js tags: trunk
21:47
Get rid of another ObjC++ warning. check-in: 9d9881f26c user: js tags: trunk
21:41
Define __STDC_CONSTANT_MACROS if not defined. check-in: 0ca438498e user: js tags: trunk
Changes

Modified src/OFNumber.h from [914f43516c] to [fd0954f29b].

51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
} of_number_type_t;

/**
 * \brief Provides a way to store a number in an object.
 */
@interface OFNumber: OFObject <OFCopying>
{
	union {
		BOOL	       bool_;
		char	       char_;
		short	       short_;
		int	       int_;
		long	       long_;
		unsigned char  uchar;
		unsigned short ushort;







|







51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
} of_number_type_t;

/**
 * \brief Provides a way to store a number in an object.
 */
@interface OFNumber: OFObject <OFCopying>
{
	union of_number_value {
		BOOL	       bool_;
		char	       char_;
		short	       short_;
		int	       int_;
		long	       long_;
		unsigned char  uchar;
		unsigned short ushort;