summaryrefslogtreecommitdiff
path: root/libobjc/exception.c
diff options
context:
space:
mode:
Diffstat (limited to 'libobjc/exception.c')
-rw-r--r--libobjc/exception.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libobjc/exception.c b/libobjc/exception.c
index 0225d6789a4..a221a3e77e3 100644
--- a/libobjc/exception.c
+++ b/libobjc/exception.c
@@ -69,7 +69,7 @@ static objc_exception_matcher
__objc_exception_matcher = is_kind_of_exception_matcher;
objc_exception_matcher
-objc_set_exception_matcher (objc_exception_matcher new_matcher)
+objc_setExceptionMatcher (objc_exception_matcher new_matcher)
{
objc_exception_matcher old_matcher = __objc_exception_matcher;
__objc_exception_matcher = new_matcher;
@@ -81,8 +81,8 @@ static objc_uncaught_exception_handler
__objc_uncaught_exception_handler = NULL;
objc_uncaught_exception_handler
-objc_set_uncaught_exception_handler (objc_uncaught_exception_handler
- new_handler)
+objc_setUncaughtExceptionHandler (objc_uncaught_exception_handler
+ new_handler)
{
objc_uncaught_exception_handler old_handler
= __objc_uncaught_exception_handler;