From 120d5f8ea40c87b7451278186dc60849e5455af9 Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Sun, 19 Dec 2010 02:12:42 +0000 Subject: In libobjc/: 2010-12-19 Nicola Pero In libobjc/: 2010-12-19 Nicola Pero * init.c: Updated comments. * objc/objc-api.h: Updated comments. * objc/runtime.h (_objc_load_callback): Declare. From-SVN: r168044 --- libobjc/objc/runtime.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libobjc/objc/runtime.h') 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. */ -- cgit v1.1