diff options
Diffstat (limited to 'libobjc/objc/objc-api.h')
-rw-r--r-- | libobjc/objc/objc-api.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libobjc/objc/objc-api.h b/libobjc/objc/objc-api.h index 30984b1..8a634a4 100644 --- a/libobjc/objc/objc-api.h +++ b/libobjc/objc/objc-api.h @@ -431,12 +431,14 @@ objc_EXPORT IMP (*__objc_msg_forward)(SEL); objc_EXPORT IMP (*__objc_msg_forward2)(id, SEL); /* -** Hook for uncaught exceptions. This hook is called when an exception -** is thrown and no valid exception handler is in place. The function -** is expected never to return. If the function returns the result is -** currently undefined. +** Hook for uncaught exceptions. This hook is called when an +** exception is thrown and no valid exception handler is in place. +** The function is expected never to return. If the function returns +** the result is currently undefined. This is deprecated. Please use +** objc_set_uncaught_exception_handler() from objc/objc-exception.h +** instead. */ -objc_EXPORT void (*_objc_unexpected_exception)(id); +objc_EXPORT void (*_objc_unexpected_exception)(id) __attribute__ ((deprecated)); Method_t class_get_class_method(MetaClass _class, SEL aSel); |