Add protocol references in the loader.

These are currently ignored, because they are only important when the
runtime has upgraded the protocol.  The runtime will upgrade legacy
protocols, but they are not referenced by this indirection layer.
main
David Chisnall 8 years ago
parent 8789016b21
commit 12a0d97849

@ -105,6 +105,8 @@ struct objc_init
struct objc_category *cat_end;
struct objc_protocol2 *proto_begin;
struct objc_protocol2 *proto_end;
struct objc_protocol2 **proto_ref_begin;
struct objc_protocol2 **proto_ref_end;
};
// end: objc_init
#include <dlfcn.h>

Loading…
Cancel
Save