mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
* Headers/Additions/GNUstepBase/GSCategories.h:
* Source/Additions/GSCompatibility.m (GSCurrentThread) Implement and declare for non *-gnu-*. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18663 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6d8828396e
commit
25e91f01c9
3 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-02-25 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* Headers/Additions/GNUstepBase/GSCategories.h:
|
||||
* Source/Additions/GSCompatibility.m (GSCurrentThread) Implement
|
||||
and declare for non *-gnu-*.
|
||||
|
||||
2004-02-24 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/Foundation/NSDictionary.h:
|
||||
|
|
|
@ -310,6 +310,7 @@ GS_EXPORT BOOL GSDebugSet(NSString *level);
|
|||
GS_EXPORT NSString *GetEncodingName(NSStringEncoding availableEncodingValue);
|
||||
GS_EXPORT NSString *GSEncodingName(NSStringEncoding availableEncodingValue);
|
||||
|
||||
GS_EXPORT NSThread *GSCurrentThread(void);
|
||||
GS_EXPORT NSMutableDictionary *GSCurrentThreadDictionary(void);
|
||||
|
||||
GS_EXPORT NSString *GSDebugMethodMsg(id obj, SEL sel, const char *file,
|
||||
|
|
|
@ -38,6 +38,11 @@ NSString *GSEncodingName(NSStringEncoding availableEncodingValue)
|
|||
return (NSString *)CFStringGetNameOfEncoding(CFStringConvertNSStringEncodingToEncoding(availableEncodingValue));
|
||||
}
|
||||
|
||||
NSThread *GSCurrentThread()
|
||||
{
|
||||
return [NSThread currentThread];
|
||||
}
|
||||
|
||||
NSMutableDictionary *GSCurrentThreadDictionary()
|
||||
{
|
||||
return [[NSThread currentThread] threadDictionary];
|
||||
|
|
Loading…
Reference in a new issue