From: Richard Kenner Date: Mon, 8 May 1995 22:13:53 +0000 (-0400) Subject: (_objc_load_callback): Add declaration. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4137a04dee7347e1b5b8badccad43ee348022bd;p=gcc.git (_objc_load_callback): Add declaration. From-SVN: r9593 --- diff --git a/gcc/objc/objc-api.h b/gcc/objc/objc-api.h index 981350f98e4..07997d8c2f3 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);