Differences From Artifact [0b126c90fd]:
- File
src/exceptions/OFException.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 6941) [annotate] [blame] [check-ins using]
To Artifact [254309bfd5]:
- File src/exceptions/OFException.m — part of check-in [70adcc7bdd] at 2017-05-07 21:17:56 on branch trunk — Use generic for -[OFException backtrace] (user: js, size: 6992) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
266 267 268 269 270 271 272 | - (OFString *)description { return [OFString stringWithFormat: @"An exception of type %@ occurred!", [self class]]; } | | > | | 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 | - (OFString *)description { return [OFString stringWithFormat: @"An exception of type %@ occurred!", [self class]]; } - (OFArray OF_GENERIC(OFString *) *)backtrace { #ifdef HAVE_DWARF_EXCEPTIONS OFMutableArray OF_GENERIC(OFString *) *backtrace = [OFMutableArray array]; void *pool = objc_autoreleasePoolPush(); for (uint8_t i = 0; i < OF_BACKTRACE_SIZE && _backtrace[i] != NULL; i++) { # ifdef HAVE_DLADDR Dl_info info; |
︙ | ︙ |