aboutsummaryrefslogtreecommitdiff
path: root/libobjc/objects.c
diff options
context:
space:
mode:
authorNicola Pero <nicola.pero@meta-innovation.com>2010-12-14 21:57:31 +0000
committerNicola Pero <nicola@gcc.gnu.org>2010-12-14 21:57:31 +0000
commit9ecfa8de88025917ab3442db65caf62abd46d538 (patch)
tree950f2298d177e5fa36931f0eeb4ffb6aee7d0ff3 /libobjc/objects.c
parent48d69c57af11814091231df787dba116c4356c4c (diff)
downloadgcc-9ecfa8de88025917ab3442db65caf62abd46d538.zip
gcc-9ecfa8de88025917ab3442db65caf62abd46d538.tar.gz
gcc-9ecfa8de88025917ab3442db65caf62abd46d538.tar.bz2
objects.c (object_copy): Do not #undef as we are no longer including objc/objc-api.h.
2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com> * objects.c (object_copy): Do not #undef as we are no longer including objc/objc-api.h. * selector.c: Include objc/runtime.h and objc-private/module-abi-8.h. Do not include objc/objc-api.h and objc/encoding.h. Updated (__objc_register_selectors_from_class): Use struct objc_method_list * instead of MethodList_t. (__objc_register_selectors_from_list): Use Method instead of Method_t. (struct objc_method_description_list): Do not define here. (__objc_register_instance_methods_to_class): Use struct objc_method_list * instead of MethodList_t and Method instead of Method_t. From-SVN: r167818
Diffstat (limited to 'libobjc/objects.c')
-rw-r--r--libobjc/objects.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libobjc/objects.c b/libobjc/objects.c
index 71b09af..ca12dc6 100644
--- a/libobjc/objects.c
+++ b/libobjc/objects.c
@@ -72,9 +72,6 @@ class_create_instance (Class class)
return class_createInstance (class, 0);
}
-/* Temporary, while we are including objc-api.h instead of runtime.h. */
-#undef object_copy
-
id
object_copy (id object, size_t extraBytes)
{