More tidyups ... rem ove some previously deprecated methods and improve docs

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21861 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-10-23 14:53:03 +00:00
parent 0dd713a0dc
commit c0f48a2720
5 changed files with 24 additions and 59 deletions

View file

@ -337,14 +337,20 @@ enum {
* 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.
* for long.<br />
* NB. On ms-windows the filesystem representation of a path is a 16-bit
* unicode character string, so you should only path the value returned by
* this method to functions expecting wide characters.
*/
- (const char*) fileSystemRepresentation;
/**
* 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 than size, otherwise NO is returned.
* appropriate to the local file system. This string will be stored
* into buffer if it is shorter than size, otherwise NO is returned.<br />
* NB. On ms-windows 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 long as the number of characters you expect to receive.
*/
- (BOOL) getFileSystemRepresentation: (char*)buffer
maxLength: (unsigned int)size;