]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/objc/objc-api.h
objc-api.h (sel_get_any_typed_uid): Declare new function.
[gcc.git] / gcc / objc / objc-api.h
index 981350f98e4feec1b63912910d9a88fe933a5c16..c801033abe6d97585c0cca52f18e47bc57e322dc 100644 (file)
@@ -15,7 +15,8 @@ License for more details.
 
 You should have received a copy of the GNU General Public License
 along with GNU CC; see the file COPYING.  If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
 
 /* As a special exception, if you link this library with files compiled
    with GCC to produce an executable, this does not cause the resulting
@@ -299,6 +300,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);
@@ -325,6 +334,8 @@ SEL sel_get_uid(const char *name);
 
 SEL sel_get_any_uid(const char *name);
 
+SEL sel_get_any_typed_uid(const char *name);
+
 SEL sel_get_typed_uid(const char *name, const char*);
 
 SEL sel_register_name(const char *name);
This page took 0.049398 seconds and 5 git commands to generate.