Annotate uniquing for static analyzer

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32095 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-02-12 10:29:11 +00:00
parent 78009cfe59
commit d060289f36

View file

@ -144,7 +144,7 @@ extern "C" {
* </code>
* </p>
*/
- (id) unique: (id)anObject;
- (id) unique: (id) NS_CONSUMED anObject NS_RETURNS_RETAINED;
@end
/*
@ -165,7 +165,7 @@ void GSUniquing(BOOL flag);
* Thus, an -init method that wants to implement uniquing simply needs
* to end with 'return GSUnique(self);'
*/
id GSUnique(id anObject);
id GSUnique(id NS_CONSUMED anObject) NS_RETURNS_RETAINED;
/*
* Management functions -