mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +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
1aaba6c0d5
commit
dc0d933256
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.
|
||||
|
|
|
@ -265,20 +265,20 @@ typedef NSUInteger NSPropertyListFormat;
|
|||
+ (NSData *) dataWithPropertyList: (id)aPropertyList
|
||||
format: (NSPropertyListFormat)aFormat
|
||||
options: (NSPropertyListWriteOptions)anOption
|
||||
error: (NSError**)error;
|
||||
error: (out NSError**)error;
|
||||
+ (id) propertyListWithData: (NSData*)data
|
||||
options: (NSPropertyListReadOptions)anOption
|
||||
format: (NSPropertyListFormat*)aFormat
|
||||
error: (NSError**)error;
|
||||
error: (out NSError**)error;
|
||||
+ (id) propertyListWithStream: (NSInputStream*)stream
|
||||
options: (NSPropertyListReadOptions)anOption
|
||||
format: (NSPropertyListFormat*)aFormat
|
||||
error: (NSError**)error;
|
||||
error: (out NSError**)error;
|
||||
+ (NSInteger) writePropertyList: (id)aPropertyList
|
||||
toStream: (NSOutputStream*)stream
|
||||
format: (NSPropertyListFormat)aFormat
|
||||
options: (NSPropertyListWriteOptions)anOption
|
||||
error: (NSError**)error;
|
||||
error: (out NSError**)error;
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue