mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +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
|
@ -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…
Add table
Add a link
Reference in a new issue