diff options
author | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-03 19:15:23 +0000 |
---|---|---|
committer | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-03 19:15:23 +0000 |
commit | c0eeb2f4155daaeb1e15f5482216bb089b5c5e74 (patch) | |
tree | 43cb298fe356fef3fd9afe487864fd08bd5a3f09 /libobjc/objc | |
parent | 3ddc2a17c4bc01a654b1d7ed5ae41723e8794591 (diff) | |
download | gcc-c0eeb2f4155daaeb1e15f5482216bb089b5c5e74.tar.gz |
In libobjc/:
2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
* Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
objc_malloc.h and objc_unexpected_exception.h.
(exception.lo): Do not use -Wno-deprecated-declarations.
(exception_gc.lo): Likewise.
* objc/objc-api.h: Do not include deprecated/objc_valloc.h,
deprecated/objc_malloc.h and
deprecated/objc_unexpected_exception.h.
* objc/deprecated/objc_valloc.h: Removed.
* objc/deprecated/objc_malloc.h: Removed.
* objc/deprecated/objc_unexpected_exception.h: Removed.
* exception.c (_objc_unexpected_exception): Removed.
(objc_exception_throw): Do not check for
_objc_unexpected_exception.
* memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
_objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.
* libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174615 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/objc')
-rw-r--r-- | libobjc/objc/deprecated/objc_malloc.h | 17 | ||||
-rw-r--r-- | libobjc/objc/deprecated/objc_unexpected_exception.h | 9 | ||||
-rw-r--r-- | libobjc/objc/deprecated/objc_valloc.h | 2 | ||||
-rw-r--r-- | libobjc/objc/objc-api.h | 5 |
4 files changed, 0 insertions, 33 deletions
diff --git a/libobjc/objc/deprecated/objc_malloc.h b/libobjc/objc/deprecated/objc_malloc.h deleted file mode 100644 index cf6c6e9d092..00000000000 --- a/libobjc/objc/deprecated/objc_malloc.h +++ /dev/null @@ -1,17 +0,0 @@ -/* -** Hook functions for memory allocation and disposal. -** This makes it easy to substitute garbage collection systems -** such as Boehm's GC by assigning these function pointers -** to the GC's allocation routines. By default these point -** to the ANSI standard malloc, realloc, free, etc. -** -** Users should call the normal objc routines above for -** memory allocation and disposal within their programs. -*/ -objc_EXPORT void *(*_objc_malloc)(size_t); -objc_EXPORT void *(*_objc_atomic_malloc)(size_t); -objc_EXPORT void *(*_objc_valloc)(size_t); -objc_EXPORT void *(*_objc_realloc)(void *, size_t); -objc_EXPORT void *(*_objc_calloc)(size_t, size_t); -objc_EXPORT void (*_objc_free)(void *); - diff --git a/libobjc/objc/deprecated/objc_unexpected_exception.h b/libobjc/objc/deprecated/objc_unexpected_exception.h deleted file mode 100644 index 69ffd4e87da..00000000000 --- a/libobjc/objc/deprecated/objc_unexpected_exception.h +++ /dev/null @@ -1,9 +0,0 @@ -/* -** 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)); diff --git a/libobjc/objc/deprecated/objc_valloc.h b/libobjc/objc/deprecated/objc_valloc.h deleted file mode 100644 index a715f1a7330..00000000000 --- a/libobjc/objc/deprecated/objc_valloc.h +++ /dev/null @@ -1,2 +0,0 @@ -void * -objc_valloc(size_t size); diff --git a/libobjc/objc/objc-api.h b/libobjc/objc/objc-api.h index 411f4b2aaea..f0734d76e48 100644 --- a/libobjc/objc/objc-api.h +++ b/libobjc/objc/objc-api.h @@ -218,11 +218,6 @@ objc_calloc(size_t nelem, size_t size); objc_EXPORT void objc_free(void *mem); -#include "deprecated/objc_valloc.h" -#include "deprecated/objc_malloc.h" - -#include "deprecated/objc_unexpected_exception.h" - objc_EXPORT Method_t class_get_class_method(MetaClass _class, SEL aSel); objc_EXPORT Method_t class_get_instance_method(Class _class, SEL aSel); |