Add some out qualifiers to NSError** parameters, matching the OS X 10.7 API diffs. They seem to have missed a lot - this change should have been made on every NSError ** to stop ARC from using the complicated copy-and-writeback semantics, but only a small number of changes are documented. It's possible that this is just an error in the docs, so someone with 10.7 should check.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33668 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2011-07-31 19:12:01 +00:00
parent dbe026608e
commit a5b1427e87
2 changed files with 6 additions and 6 deletions

View file

@ -342,7 +342,7 @@ GS_EXPORT NSString* const NSUndefinedKeyException;
*/
- (BOOL) validateValue: (id*)aValue
forKey: (NSString*)aKey
error: (NSError**)anError;
error: (out NSError**)anError;
/**
* Returns the result of calling -validateValue:forKey:error: on the receiver
@ -351,7 +351,7 @@ GS_EXPORT NSString* const NSUndefinedKeyException;
*/
- (BOOL) validateValue: (id*)aValue
forKeyPath: (NSString*)aKey
error: (NSError**)anError;
error: (out NSError**)anError;
/**
* Returns the value associated with the supplied key as an object.