ObjFW  Check-in [a5bfaa315b]

Overview
Comment:Add OF_HAVE_CLASS_EXTENSIONS.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a5bfaa315bafc3d2544be35789695148f5c1fbc1f497fdbc4210633dcc34a7f0
User & Date: js on 2013-08-15 18:44:41
Other Links: manifest | tags
Context
2013-08-15
19:00
Move private methods into private headers. check-in: 1d7a1cbca0 user: js tags: trunk
18:44
Add OF_HAVE_CLASS_EXTENSIONS. check-in: a5bfaa315b user: js tags: trunk
17:55
OFZIPArchiveEntry: Add -[description]. check-in: fb8b5e652d user: js tags: trunk
Changes

Modified src/OFObject.h from [357d7fd283] to [03b184e014].

50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71

#ifdef __GNUC__
# define __GCC_VERSION__ (__GNUC__ * 100 + __GNUC_MINOR__)
#else
# define __GCC_VERSION__ 0
#endif

#if defined(__clang__)
# define OF_HAVE_PROPERTIES
# define OF_HAVE_OPTIONAL_PROTOCOLS
# define OF_HAVE_FAST_ENUMERATION
#elif __GCC_VERSION__ >= 406 || defined(OBJC_NEW_PROPERTIES)
# define OF_HAVE_PROPERTIES
# define OF_HAVE_OPTIONAL_PROTOCOLS
# define OF_HAVE_FAST_ENUMERATION
#endif

#if !__has_feature(objc_instancetype)
# define instancetype id
#endif

#if __has_feature(blocks)







|



<
|
<
<







50
51
52
53
54
55
56
57
58
59
60

61


62
63
64
65
66
67
68

#ifdef __GNUC__
# define __GCC_VERSION__ (__GNUC__ * 100 + __GNUC_MINOR__)
#else
# define __GCC_VERSION__ 0
#endif

#if defined(__clang__) || __GCC_VERSION__ >= 406 || defined(OBJC_NEW_PROPERTIES)
# define OF_HAVE_PROPERTIES
# define OF_HAVE_OPTIONAL_PROTOCOLS
# define OF_HAVE_FAST_ENUMERATION

# define OF_HAVE_CLASS_EXTENSIONS


#endif

#if !__has_feature(objc_instancetype)
# define instancetype id
#endif

#if __has_feature(blocks)