Differences From Artifact [5d37520679]:
- File
src/bridge/OFBridging.h
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 1060) [annotate] [blame] [check-ins using]
To Artifact [da25a76131]:
- File src/bridge/OFBridging.h — part of check-in [13965af7a1] at 2017-05-09 21:25:46 on branch trunk — Add a few missing OF_ASSUME_NONNULL_{BEGIN,END} (user: js, size: 1128) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | * * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ /*! * @protocol OFBridging OFBridging.h ObjFW-Bridge/OFBridging.h * * @brief A protocol implemented by classes supporting bridging ObjFW objects * to Foundation objects. */ @protocol OFBridging /*! * @brief Returns an instance of a Foundation object corresponding to the * receiver. * * If possible, the original object is wrapped. If this is not possible, an * autoreleased copy is created. * * @return The receiver as Foundation object */ - (id)NSObject; @end | > > > > > > | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | * * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "macros.h" OF_ASSUME_NONNULL_BEGIN /*! * @protocol OFBridging OFBridging.h ObjFW-Bridge/OFBridging.h * * @brief A protocol implemented by classes supporting bridging ObjFW objects * to Foundation objects. */ @protocol OFBridging /*! * @brief Returns an instance of a Foundation object corresponding to the * receiver. * * If possible, the original object is wrapped. If this is not possible, an * autoreleased copy is created. * * @return The receiver as Foundation object */ - (id)NSObject; @end OF_ASSUME_NONNULL_END |