diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-05-08 18:13:53 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-05-08 18:13:53 -0400 |
commit | a4137a04dee7347e1b5b8badccad43ee348022bd (patch) | |
tree | 30653526bcb8c34bd41e367081f8413e181721c5 /gcc | |
parent | d8a55d096037ca3ed16b81d1caaff4b2b1623777 (diff) | |
download | gcc-a4137a04dee7347e1b5b8badccad43ee348022bd.zip gcc-a4137a04dee7347e1b5b8badccad43ee348022bd.tar.gz gcc-a4137a04dee7347e1b5b8badccad43ee348022bd.tar.bz2 |
(_objc_load_callback): Add declaration.
From-SVN: r9593
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/objc/objc-api.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/objc/objc-api.h b/gcc/objc/objc-api.h index 981350f..07997d8 100644 --- a/gcc/objc/objc-api.h +++ b/gcc/objc/objc-api.h @@ -299,6 +299,14 @@ retval_t objc_msg_sendv(id, SEL, arglist_t); */ extern Class (*_objc_lookup_class)(const char *name); +/* +** 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. +*/ +extern void (*_objc_load_callback)(Class class, Category* category); + extern id (*_objc_object_alloc)(Class class); extern id (*_objc_object_copy)(id object); |