diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2010-12-19 02:12:42 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2010-12-19 02:12:42 +0000 |
commit | 120d5f8ea40c87b7451278186dc60849e5455af9 (patch) | |
tree | 2741b3549f5b11c253ebb01486885c0ed2703860 /libobjc/objc/runtime.h | |
parent | c34fc9884e9fef948e8b99a436d6f6d0eaf84130 (diff) | |
download | gcc-120d5f8ea40c87b7451278186dc60849e5455af9.zip gcc-120d5f8ea40c87b7451278186dc60849e5455af9.tar.gz gcc-120d5f8ea40c87b7451278186dc60849e5455af9.tar.bz2 |
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* init.c: Updated comments.
* objc/objc-api.h: Updated comments.
* objc/runtime.h (_objc_load_callback): Declare.
From-SVN: r168044
Diffstat (limited to 'libobjc/objc/runtime.h')
-rw-r--r-- | libobjc/objc/runtime.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libobjc/objc/runtime.h b/libobjc/objc/runtime.h index 94f5bf7..de8f701 100644 --- a/libobjc/objc/runtime.h +++ b/libobjc/objc/runtime.h @@ -876,6 +876,14 @@ objc_EXPORT Protocol **protocol_copyProtocolList (Protocol *protocol, unsigned i /* TODO: Add all the other functions in the API. */ +/** Implementation: the following hook is in init.c. */ + +/* This is a hook which is called by __objc_exec_class every time a + class or a category is loaded into the runtime. This may e.g. help + a dynamic loader determine the classes that have been loaded when + an object file is dynamically linked in. */ +objc_EXPORT void (*_objc_load_callback)(Class _class, struct objc_category *category); + /** Implementation: the following functions are in objc-foreach.c. */ |