summaryrefslogtreecommitdiffstats
path: root/libobjc/objc/objc-api.h
diff options
context:
space:
mode:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-10 09:56:40 +0000
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-10 09:56:40 +0000
commit01eb761e3088d72508d2190978ad488cbb75c321 (patch)
treeaecc8134138b797706917530127f1a76bf0da100 /libobjc/objc/objc-api.h
parentdd3eae968c619f0c174e985e7f40d963cc2b601d (diff)
downloadppe42-gcc-01eb761e3088d72508d2190978ad488cbb75c321.tar.gz
ppe42-gcc-01eb761e3088d72508d2190978ad488cbb75c321.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164153 138bc75d-0d04-0410-961f-82ee72b054a4
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 8a634a44442..f58448456d6 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);
OpenPOWER on IntegriCloud