mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22112 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c97daa51dd
commit
1bf4c4c303
32 changed files with 307 additions and 216 deletions
|
@ -333,7 +333,6 @@ enum {
|
|||
matchesIntoArray: (NSArray**)outputArray
|
||||
filterTypes: (NSArray*)filterTypes;
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
/**
|
||||
* Converts the receiver to a C string path expressed in the character
|
||||
* encoding appropriate for the local host file system. This string will be
|
||||
|
@ -345,23 +344,8 @@ enum {
|
|||
* This method uses [NSFileManager-fileSystemRepresentationWithPath:] to
|
||||
* perform the conversion.
|
||||
*/
|
||||
- (const unichar*) fileSystemRepresentation;
|
||||
#else
|
||||
/**
|
||||
* Converts the receiver to a C string path expressed in the character
|
||||
* encoding appropriate for the local host file system. This string will be
|
||||
* automatically freed soon after it is returned, so copy it if you need it
|
||||
* for long.<br />
|
||||
* NB. On mingw32 systems the filesystem representation of a path is a 16-bit
|
||||
* unicode character string, so you should only pass the value returned by
|
||||
* this method to functions expecting wide characters.<br />
|
||||
* This method uses [NSFileManager-fileSystemRepresentationWithPath:] to
|
||||
* perform the conversion.
|
||||
*/
|
||||
- (const char*) fileSystemRepresentation;
|
||||
#endif
|
||||
- (const GSNativeChar*) fileSystemRepresentation;
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
/**
|
||||
* Converts the receiver to a C string path using the character encoding
|
||||
* appropriate to the local file system. This string will be stored
|
||||
|
@ -374,24 +358,8 @@ enum {
|
|||
* This method uses [NSFileManager-fileSystemRepresentationWithPath:] to
|
||||
* perform the conversion.
|
||||
*/
|
||||
- (BOOL) getFileSystemRepresentation: (unichar*)buffer
|
||||
- (BOOL) getFileSystemRepresentation: (GSNativeChar*)buffer
|
||||
maxLength: (unsigned int)size;
|
||||
#else
|
||||
/**
|
||||
* Converts the receiver to a C string path using the character encoding
|
||||
* appropriate to the local file system. This string will be stored
|
||||
* into buffer if it is shorter (number of characters) than size,
|
||||
* otherwise NO is returned.<br />
|
||||
* NB. On mingw32 systems the filesystem representation of a path is a 16-bit
|
||||
* unicode character string, so the buffer you pass to this method must be
|
||||
* twice as many bytes as the size (number of characters) you expect to
|
||||
* receive.<br />
|
||||
* This method uses [NSFileManager-fileSystemRepresentationWithPath:] to
|
||||
* perform the conversion.
|
||||
*/
|
||||
- (BOOL) getFileSystemRepresentation: (char*)buffer
|
||||
maxLength: (unsigned int)size;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Returns a string containing the last path component of the receiver.<br />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue