Differences From Artifact [13643af46e]:
- File src/bridge/OFException+Swift.h — part of check-in [0509d7a844] at 2019-01-03 19:13:03 on branch trunk — Update copyright (user: js, size: 2202) [annotate] [blame] [check-ins using]
To Artifact [0e521618bb]:
- File
src/bridge/OFException+Swift.h
— part of check-in
[6499e22e06]
at
2019-06-16 15:11:40
on branch trunk
— bridge: Make -[OFException throw] OF_NO_RETURN
This allows using it in guard elses in Swift without needing an abort(). (user: js, size: 2215) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
68 69 70 71 72 73 74 | #endif /*! * @brief Raises the exception. * * @note This is only useful to raise OFExceptions in Swift. */ | | | 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 |