mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-03 10:00:51 +00:00
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:
parent
dbe026608e
commit
a5b1427e87
2 changed files with 6 additions and 6 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue