From 93b3f889a6cd6bb7a008463e5334b5153d7a87a0 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Sat, 24 Mar 2018 12:58:26 +0000 Subject: [PATCH] Update documentation. --- objc/hooks.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/objc/hooks.h b/objc/hooks.h index fed28a1..e7bfe25 100644 --- a/objc/hooks.h +++ b/objc/hooks.h @@ -69,13 +69,15 @@ extern IMP (*_objc_selector_type_mismatch2)(Class cls, * `_objc_selector_type_mismatch2` is not installed. */ OBJC_HOOK struct objc_slot_v1 *(*_objc_selector_type_mismatch)(Class cls, - SEL selector, struct objc_slot_v1 *result); + SEL selector, struct objc_slot_v1 *result) OBJC_DEPRECATED; /** * Returns the object if it is not currently in the process of being * deallocated. Returns nil otherwise * - * This hook must be set for weak references to work with automatic reference counting. + * This hook must be set for weak references to work with automatic reference + * counting for classes that don't provide ARC-compliant retain and release + * methods.. */ OBJC_HOOK id (*_objc_weak_load)(id object);