mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
avoid documentation warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31296 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8177a34a8f
commit
faa2feed90
3 changed files with 11 additions and 12 deletions
|
@ -5,24 +5,24 @@
|
|||
|
||||
Written by: Scott Christley <scottc@net-community.com>
|
||||
Date: Sep 1997
|
||||
|
||||
|
||||
This file is part of the GNUstep Base Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Library General Public License for more details.
|
||||
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02111 USA.
|
||||
*/
|
||||
*/
|
||||
|
||||
#ifndef __Foundation_h_GNUSTEP_BASE_INCLUDE
|
||||
#define __Foundation_h_GNUSTEP_BASE_INCLUDE
|
||||
|
@ -78,7 +78,6 @@
|
|||
#import <Foundation/NSKeyedArchiver.h>
|
||||
#import <Foundation/NSKeyValueCoding.h>
|
||||
#import <Foundation/NSKeyValueObserving.h>
|
||||
#import <Foundation/NSLocale.h>
|
||||
#import <Foundation/NSLock.h>
|
||||
#import <Foundation/NSMapTable.h>
|
||||
#import <Foundation/NSMethodSignature.h>
|
||||
|
|
|
@ -713,7 +713,7 @@ typedef NSUInteger NSStringEncodingConversionOptions;
|
|||
- (NSComparisonResult) localizedCaseInsensitiveCompare: (NSString *)string;
|
||||
- (BOOL) writeToFile: (NSString*)filename
|
||||
atomically: (BOOL)useAuxiliaryFile;
|
||||
- (BOOL) writeToURL: (NSURL*)anURL atomically: (BOOL)atomically;
|
||||
- (BOOL) writeToURL: (NSURL*)url atomically: (BOOL)atomically;
|
||||
- (double) doubleValue;
|
||||
+ (NSStringEncoding*) availableStringEncodings;
|
||||
+ (NSString*) localizedNameOfStringEncoding: (NSStringEncoding)encoding;
|
||||
|
|
|
@ -4727,7 +4727,7 @@ static NSFileManager *fm = nil;
|
|||
}
|
||||
|
||||
/**
|
||||
* Writes contents out to anURL, using the default C string encoding
|
||||
* Writes contents out to url, using the default C string encoding
|
||||
* unless this would result in information loss, otherwise straight unicode.
|
||||
* See [NSURLHandle-writeData:] on which URL types are supported.
|
||||
* The '<code>atomically</code>' option is only heeded if the URL is a
|
||||
|
@ -4735,7 +4735,7 @@ static NSFileManager *fm = nil;
|
|||
* If there is a problem and error is not NULL, the cause of the problem is
|
||||
* returned in *error.
|
||||
*/
|
||||
- (BOOL) writeToURL: (NSURL*)anURL
|
||||
- (BOOL) writeToURL: (NSURL*)url
|
||||
atomically: (BOOL)atomically
|
||||
encoding: (NSStringEncoding)enc
|
||||
error: (NSError**)error
|
||||
|
@ -4756,19 +4756,19 @@ static NSFileManager *fm = nil;
|
|||
}
|
||||
return NO;
|
||||
}
|
||||
return [d writeToURL: anURL
|
||||
return [d writeToURL: url
|
||||
options: atomically ? NSAtomicWrite : 0
|
||||
error: error];
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes contents out to anURL, using the default C string encoding
|
||||
* Writes contents out to url, using the default C string encoding
|
||||
* unless this would result in information loss, otherwise straight unicode.
|
||||
* See [NSURLHandle-writeData:] on which URL types are supported.
|
||||
* The '<code>atomically</code>' option is only heeded if the URL is a
|
||||
* <code>file://</code> URL; see -writeToFile:atomically: .
|
||||
*/
|
||||
- (BOOL) writeToURL: (NSURL*)anURL atomically: (BOOL)atomically
|
||||
- (BOOL) writeToURL: (NSURL*)url atomically: (BOOL)atomically
|
||||
{
|
||||
id d = [self dataUsingEncoding: _DefaultStringEncoding];
|
||||
|
||||
|
@ -4776,7 +4776,7 @@ static NSFileManager *fm = nil;
|
|||
{
|
||||
d = [self dataUsingEncoding: NSUnicodeStringEncoding];
|
||||
}
|
||||
return [d writeToURL: anURL atomically: atomically];
|
||||
return [d writeToURL: url atomically: atomically];
|
||||
}
|
||||
|
||||
/* NSCopying Protocol */
|
||||
|
|
Loading…
Reference in a new issue