aboutsummaryrefslogtreecommitdiff
path: root/libobjc/objc/objc-api.h
diff options
context:
space:
mode:
authorNicola Pero <nicola.pero@meta-innovation.com>2010-09-10 09:56:40 +0000
committerNicola Pero <nicola@gcc.gnu.org>2010-09-10 09:56:40 +0000
commite976a775e259c5a85907a4b4e9a2b707c7ce9cca (patch)
treeaecc8134138b797706917530127f1a76bf0da100 /libobjc/objc/objc-api.h
parent1c732eb7229d03addf86b550c8e8c0123d98d729 (diff)
downloadgcc-e976a775e259c5a85907a4b4e9a2b707c7ce9cca.zip
gcc-e976a775e259c5a85907a4b4e9a2b707c7ce9cca.tar.gz
gcc-e976a775e259c5a85907a4b4e9a2b707c7ce9cca.tar.bz2
deprecated: New directory.
* libobjc/objc/deprecated: New directory. * libobjc/objc/deprecated/README: New file. * libobjc/objc/README: New file. * libobjc/objc/typedstream.h: Moved into objc/deprecated/typedstream.h; objc/typedstream.h replaced with a placeholder including the file from the deprecated/ directory. * libobjc/objc/deprecated/objc-unexpected-exception.h: New file with the definition of _objc_unexpected_exception. * libobjc/objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h instead of defining _objc_unexpected_exception. * libobjc/objc/deprecated/Object.h: New file with the deprecated Object methods in a 'Deprecated' category. * libobjc/objc/Object.h Include deprecated/Object.h instead of defining the deprecated methods. * libobjc/Object.m: Moved deprecated methods into 'Deprecated' category. * libobjc/objc-private: New directory. * libobjc/objc-private/README: New file. * libobjc/Makefile.in (OBJC_DEPRECATED_H): New variable. (install-headers): Create installation directory for OBJC_DEPRECATED_H headers, and install them. From-SVN: r164153
Diffstat (limited to 'libobjc/objc/objc-api.h')
-rw-r--r--libobjc/objc/objc-api.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/libobjc/objc/objc-api.h b/libobjc/objc/objc-api.h
index 8a634a4..f584484 100644
--- a/libobjc/objc/objc-api.h
+++ b/libobjc/objc/objc-api.h
@@ -430,16 +430,7 @@ objc_EXPORT void (*_objc_free)(void *);
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. This is deprecated. Please use
-** objc_set_uncaught_exception_handler() from objc/objc-exception.h
-** instead.
-*/
-objc_EXPORT void (*_objc_unexpected_exception)(id) __attribute__ ((deprecated));
-
+#include "deprecated/objc-unexpected-exception.h"
Method_t class_get_class_method(MetaClass _class, SEL aSel);