summaryrefslogtreecommitdiffstats
path: root/libobjc/objc/deprecated/objc_unexpected_exception.h
diff options
context:
space:
mode:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-11 12:38:56 +0000
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-11 12:38:56 +0000
commit344bfd093394bbfd16bfc4614972d6577b6413a8 (patch)
tree34a7ed63e36b5323657af9af9dc423fa5a37dd3e /libobjc/objc/deprecated/objc_unexpected_exception.h
parent9dd72ec43737ca9d1ec49315d4a5e0fdd3d578f2 (diff)
downloadppe42-gcc-344bfd093394bbfd16bfc4614972d6577b6413a8.tar.gz
ppe42-gcc-344bfd093394bbfd16bfc4614972d6577b6413a8.zip
In libobjc:
* objc/deprecated/struct_objc_selector.h: New file. Definition of 'struct objc_selector' and 'sel_eq' moved here. * objc/deprecated/struct_objc_protocol.h: New file. Definition of 'struct objc_procotol' moved here. * objc/deprecated/struct_objc_class.h: New file. Definition of 'struct objc_class' moved here. * objc/deprecated/MetaClass.h: New file. Definition of MetClass moved here. * objc/deprecated/STR.h: New file. Definition of STR moved here. * objc/message.h: New file. Definitions for relval_t, apply_t, arglist, arglist_t and objc_msg_lookup were moved here. * objc/objc.h: Include the above files instead of defining the corresponding structs, types and functions here. Added new opaque definitions for SEL and Class. Use Class and not 'struct objc_class *' in the definition of 'struct objc_object'. Commented all types defined in the file. Removed special definition of BOOL as 'int' on __vxworks; use 'unsigned char' there as well. * objc/deprecated/objc-unexpected-exception.h: Renamed to objc_unexpected_exception.h. * objc/objc-api.h: Updated include of objc-unexpetected-exception.h * objc/objc-exception.h: Updated comments. * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header files. Reindented list of files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164212 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/objc/deprecated/objc_unexpected_exception.h')
-rw-r--r--libobjc/objc/deprecated/objc_unexpected_exception.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libobjc/objc/deprecated/objc_unexpected_exception.h b/libobjc/objc/deprecated/objc_unexpected_exception.h
new file mode 100644
index 00000000000..69ffd4e87da
--- /dev/null
+++ b/libobjc/objc/deprecated/objc_unexpected_exception.h
@@ -0,0 +1,9 @@
+/*
+** 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));
OpenPOWER on IntegriCloud