ObjFW  Check-in [f9236a1d6c]

Overview
Comment:Add OF_DIRECT and OF_DIRECT_MEMBERS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f9236a1d6c61a2342dc0b8ab32c6b57515208572a82d17c460e63b25dc7e29fc
User & Date: js on 2020-06-25 21:51:39
Other Links: manifest | tags
Context
2020-06-27
13:30
OFXMLParser: Make private methods static functions check-in: 218c819b39 user: js tags: trunk
2020-06-25
21:51
Add OF_DIRECT and OF_DIRECT_MEMBERS check-in: f9236a1d6c user: js tags: trunk
2020-06-24
22:34
Correct the path for DerivedData in ignore-glob check-in: 7aba87d1eb user: js tags: trunk
Changes

Modified src/macros.h from [b900515d8a] to [f608bdd307].

304
305
306
307
308
309
310











311
312
313
314
315
316
317
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328







+
+
+
+
+
+
+
+
+
+
+







#endif

#if __has_attribute(__swift_name__)
# define OF_SWIFT_NAME(name) __attribute__((__swift_name__(name)))
#else
# define OF_SWIFT_NAME(name)
#endif

#if __has_attribute(__objc_direct__)
# define OF_DIRECT __attribute__((__objc_direct__))
#else
# define OF_DIRECT
#endif
#if __has_attribute(__objc_direct_members__)
# define OF_DIRECT_MEMBERS __attribute__((__objc_direct_members__))
#else
# define OF_DIRECT_MEMBERS
#endif

#ifdef __GNUC__
# ifdef OF_X86_64
#  define OF_X86_64_ASM
# endif
# ifdef OF_X86
#  define OF_X86_ASM