(NSUserName, NSHomeDirectory, NSDirectoryForUser): Change the return

types from (char*) to (NSString*).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1990 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1997-01-05 22:50:30 +00:00
parent 74bf93c4fc
commit 7cb93c0a5e

View file

@ -1,5 +1,5 @@
/* Interface to NSUser functions for GNUStep /* Interface to NSUser functions for GNUStep
Copyright (C) 1995 Free Software Foundation, Inc. Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by: Martin Michlmayer Written by: Martin Michlmayer
Date: 1995 Date: 1995
@ -26,9 +26,11 @@
#ifndef __NSUser_h_GNUSTEP_BASE_INCLUDE #ifndef __NSUser_h_GNUSTEP_BASE_INCLUDE
#define __NSUser_h_GNUSTEP_BASE_INCLUDE #define __NSUser_h_GNUSTEP_BASE_INCLUDE
extern char * NSUserName (void); #include <Foundation/NSString.h>
extern char * NSHomeDirectory (void);
extern char * NSDirectoryForUser (char * userName); NSString* NSUserName (void);
NSString* NSHomeDirectory (void);
NSString* NSDirectoryForUser (char * userName);
#endif /* __NSUser_h_GNUSTEP_BASE_INCLUDE */ #endif /* __NSUser_h_GNUSTEP_BASE_INCLUDE */