> Am 14.04.2015 um 17:32 schrieb David Chisnall <[email protected]>:
> 
> On 14 Apr 2015, at 15:39, Riccardo Mottola <[email protected]> wrote:
>> 
>> do you have an authoritative reference to that? I wound "weak" and not 
>> "__weak". A language spec or a doc from Apple would be excellent, so I can 
>> argument to the NetBSD guys.
> 
> See:
> 
> https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/EncapsulatingData/EncapsulatingData.html
> 
> weak is a context-dependent keyword that is only valid in property 
> declarations.  __weak (along with __strong / __unsafe_unretained) is a 
> storage qualifier that is valid on all declarations.

And FWIW, the __weak and __strong qualifiers have been present at least since 
Apple introduced garbage collection for Objective-C in Mac OS 10.5, i.e., since 
2007.

Wolfgang


_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to