Differences From Artifact [03af88d54b]:
- File src/bridge/NSDictionary+OFObject.h — part of check-in [0509d7a844] at 2019-01-03 19:13:03 on branch trunk — Update copyright (user: js, size: 1069) [annotate] [blame] [check-ins using]
To Artifact [8ff74d6e47]:
- File
src/bridge/NSDictionary+OFObject.h
— part of check-in
[f8fb6172af]
at
2019-06-16 01:40:35
on branch trunk
— bridge: Improve static types
This greatly improves Swift interoperability. (user: js, size: 1179) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #import <Foundation/NSDictionary.h> #import "NSBridging.h" OF_ASSUME_NONNULL_BEGIN #ifdef __cplusplus extern "C" { #endif extern int _NSDictionary_OFObject_reference; #ifdef __cplusplus } #endif /*! * @category NSDictionary (OFObject) \ * NSDictionary+OFObject.h ObjFW-Bridge/NSDictionary+OFObject.h * * @brief Support for bridging NSDictionaries to OFDictionaries. */ @interface NSDictionary (OFObject) <NSBridging> @end OF_ASSUME_NONNULL_END | > > > | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | #import <Foundation/NSDictionary.h> #import "NSBridging.h" OF_ASSUME_NONNULL_BEGIN @class OFDictionary OF_GENERIC(KeyType, ObjectType); #ifdef __cplusplus extern "C" { #endif extern int _NSDictionary_OFObject_reference; #ifdef __cplusplus } #endif /*! * @category NSDictionary (OFObject) \ * NSDictionary+OFObject.h ObjFW-Bridge/NSDictionary+OFObject.h * * @brief Support for bridging NSDictionaries to OFDictionaries. */ @interface NSDictionary (OFObject) <NSBridging> @property (readonly, nonatomic) OFDictionary *OFObject; @end OF_ASSUME_NONNULL_END |