[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weak redefinition
From: |
David Chisnall |
Subject: |
Re: weak redefinition |
Date: |
Tue, 14 Apr 2015 16:32:09 +0100 |
On 14 Apr 2015, at 15:39, Riccardo Mottola <riccardo.mottola@libero.it> 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.
David
-- Sent from my IBM 1620