23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# else
# import <ObjFW/macros.h>
# endif
#endif
OF_ASSUME_NONNULL_BEGIN
/*!
* @protocol OFBridging OFBridging.h ObjFWBridge/OFBridging.h
*
* @brief A protocol implemented by classes supporting bridging ObjFW objects
* to Foundation objects.
*/
@protocol OFBridging
/*!
* @brief An instance of a Foundation object corresponding to the object.
*
* If possible, the original object is wrapped. If this is not possible, an
* autoreleased copy is created.
*/
@property (readonly, nonatomic) id NSObject;
@end
OF_ASSUME_NONNULL_END
|
|
|
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# else
# import <ObjFW/macros.h>
# endif
#endif
OF_ASSUME_NONNULL_BEGIN
/**
* @protocol OFBridging OFBridging.h ObjFWBridge/OFBridging.h
*
* @brief A protocol implemented by classes supporting bridging ObjFW objects
* to Foundation objects.
*/
@protocol OFBridging
/**
* @brief An instance of a Foundation object corresponding to the object.
*
* If possible, the original object is wrapped. If this is not possible, an
* autoreleased copy is created.
*/
@property (readonly, nonatomic) id NSObject;
@end
OF_ASSUME_NONNULL_END
|