mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
* Source/Additions/GSCompatibility.h
* Source/Additions/GSCompatibility.m (NSDecimalFromComponents): Added compatibility function. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/freeze_1_8_0@17655 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ff97384381
commit
440c4da03b
3 changed files with 25 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2003-09-11 Philip Moetteli <philip.moetteli@tele2.ch>
|
||||
|
||||
* Source/Additions/GSCompatibility.h
|
||||
* Source/Additions/GSCompatibility.m
|
||||
(NSDecimalFromComponents): Added compatibility function.
|
||||
|
||||
2003-09-10 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSObject.m: Tidy use of GSObjCRuntime a little.
|
||||
|
|
|
@ -201,13 +201,18 @@ GS_EXPORT BOOL GSDebugSet(NSString *level);
|
|||
*/
|
||||
|
||||
GS_EXPORT NSArray *NSStandardLibraryPaths();
|
||||
GS_EXPORT void NSDecimalFromComponents(NSDecimal *result,
|
||||
unsigned long long mantissa,
|
||||
short exponent, BOOL negative);
|
||||
GS_EXPORT NSString *GetEncodingName(NSStringEncoding availableEncodingValue);
|
||||
GS_EXPORT NSString *GSEncodingName(NSStringEncoding availableEncodingValue);
|
||||
|
||||
GS_EXPORT NSMutableDictionary *GSCurrentThreadDictionary();
|
||||
|
||||
GS_EXPORT NSString *GSDebugMethodMsg(id obj, SEL sel, const char *file, int line, NSString *fmt);
|
||||
GS_EXPORT NSString *GSDebugFunctionMsg(const char *func, const char *file, int line, NSString *fmt);
|
||||
GS_EXPORT NSString *GSDebugMethodMsg(id obj, SEL sel, const char *file,
|
||||
int line, NSString *fmt);
|
||||
GS_EXPORT NSString *GSDebugFunctionMsg(const char *func, const char *file,
|
||||
int line, NSString *fmt);
|
||||
|
||||
#endif /* NexT_FOUNDATION_LIB */
|
||||
|
||||
|
|
|
@ -49,7 +49,18 @@ NSMutableDictionary *GSCurrentThreadDictionary()
|
|||
|
||||
NSArray *NSStandardLibraryPaths()
|
||||
{
|
||||
return NSSearchPathForDirectoriesInDomains(NSAllLibrariesDirectory, NSAllDomainsMask, YES);
|
||||
return NSSearchPathForDirectoriesInDomains(NSAllLibrariesDirectory,
|
||||
NSAllDomainsMask, YES);
|
||||
}
|
||||
|
||||
// Defined in NSDecimal.m
|
||||
void NSDecimalFromComponents(NSDecimal *result,
|
||||
unsigned long long mantissa,
|
||||
short exponent, BOOL negative)
|
||||
{
|
||||
*result = [[NSDecimalNumber decimalNumberWithMantissa:mantissa
|
||||
exponent:exponent
|
||||
isNegative:negative] decimalValue];
|
||||
}
|
||||
|
||||
// Defined in NSDebug.m
|
||||
|
|
Loading…
Reference in a new issue