ObjFW  Check-in [6499e22e06]

Overview
Comment:bridge: Make -[OFException throw] OF_NO_RETURN

This allows using it in guard elses in Swift without needing an abort().

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6499e22e067116dfc55c0d35266f336eae48d66e17f450b153195a103d6529b9
User & Date: js on 2019-06-16 15:11:40
Other Links: manifest | tags
Context
2019-06-17
00:38
Remove underscores from library & framework names check-in: 79fe29dbf4 user: js tags: trunk
2019-06-16
15:11
bridge: Make -[OFException throw] OF_NO_RETURN check-in: 6499e22e06 user: js tags: trunk
14:53
Use -ffreestanding for Amiga library check-in: 79fe9646af user: js tags: trunk
Changes

Modified src/bridge/OFException+Swift.h from [13643af46e] to [0e521618bb].

68
69
70
71
72
73
74
75
76
77
78
#endif

/*!
 * @brief Raises the exception.
 *
 * @note This is only useful to raise OFExceptions in Swift.
 */
- (void)throw;
@end

OF_ASSUME_NONNULL_END







|



68
69
70
71
72
73
74
75
76
77
78
#endif

/*!
 * @brief Raises the exception.
 *
 * @note This is only useful to raise OFExceptions in Swift.
 */
- (void)throw OF_NO_RETURN;
@end

OF_ASSUME_NONNULL_END