From fea782052db609f2a1bdf35bccf7ceb74c711494 Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Sun, 19 Dec 2010 14:56:14 +0000 Subject: In libobjc/: 2010-12-19 Nicola Pero In libobjc/: 2010-12-19 Nicola Pero * objc/runtime.h (class_ivar_set_gcinvisible): Declare. * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not define. Updated comments. From-SVN: r168058 --- libobjc/objc/runtime.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libobjc/objc/runtime.h') diff --git a/libobjc/objc/runtime.h b/libobjc/objc/runtime.h index 5f0274e..b323f99 100644 --- a/libobjc/objc/runtime.h +++ b/libobjc/objc/runtime.h @@ -962,6 +962,15 @@ objc_EXPORT void *objc_calloc(size_t nelem, size_t size); objc_EXPORT void objc_free(void *mem); +/** Implementation: the following functions are in gc.c. */ + +/* Mark the instance variable as inaccessible to the garbage + collector. */ +objc_EXPORT void class_ivar_set_gcinvisible (Class _class, + const char* ivarname, + BOOL gcInvisible); + + /** Implementation: the following functions are in encoding.c. */ /* Traditional GNU Objective-C Runtime functions that are currently -- cgit v1.1