mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +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
3493b03e40
commit
5c2a679480
1 changed files with 6 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
/* 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
|
||||
Date: 1995
|
||||
|
@ -26,9 +26,11 @@
|
|||
#ifndef __NSUser_h_GNUSTEP_BASE_INCLUDE
|
||||
#define __NSUser_h_GNUSTEP_BASE_INCLUDE
|
||||
|
||||
extern char * NSUserName (void);
|
||||
extern char * NSHomeDirectory (void);
|
||||
extern char * NSDirectoryForUser (char * userName);
|
||||
#include <Foundation/NSString.h>
|
||||
|
||||
NSString* NSUserName (void);
|
||||
NSString* NSHomeDirectory (void);
|
||||
NSString* NSDirectoryForUser (char * userName);
|
||||
|
||||
#endif /* __NSUser_h_GNUSTEP_BASE_INCLUDE */
|
||||
|
||||
|
|
Loading…
Reference in a new issue