mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
(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:
parent
74bf93c4fc
commit
7cb93c0a5e
1 changed files with 6 additions and 4 deletions
|
@ -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 */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue