mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14633 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9700a676f8
commit
3be8463ddd
2 changed files with 10 additions and 8 deletions
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
* Source/NSDistributedLock.m: Document and tidy.
|
* Source/NSDistributedLock.m: Document and tidy.
|
||||||
* Source/NSTimeZone.m: Don't set system zone prematurely.
|
* Source/NSTimeZone.m: Don't set system zone prematurely.
|
||||||
|
* Source/NSString.m: Don't bother to cache constant string
|
||||||
|
class. Document it.
|
||||||
|
|
||||||
2002-10-01 Adam Fedor <fedor@gnu.org>
|
2002-10-01 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,6 @@
|
||||||
static Class NSDataClass;
|
static Class NSDataClass;
|
||||||
static Class NSStringClass;
|
static Class NSStringClass;
|
||||||
static Class NSMutableStringClass;
|
static Class NSMutableStringClass;
|
||||||
static Class NSConstantStringClass;
|
|
||||||
|
|
||||||
static Class GSStringClass;
|
static Class GSStringClass;
|
||||||
static Class GSMutableStringClass;
|
static Class GSMutableStringClass;
|
||||||
|
@ -462,16 +461,17 @@ handle_printf_atsign (FILE *stream,
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the class used to dtore constant strings (those ascii strings
|
* Return the class used to store constant strings (those ascii strings
|
||||||
* placed in ythe source code using the @"this is a string" syntax.
|
* placed in the source code using the @"this is a string" syntax).<br />
|
||||||
|
* Use this method to obtain the constant string class rather than
|
||||||
|
* using the obsolete name <em>NXConstantString</em> in your code ...
|
||||||
|
* with more recent compiler versions the name of this class is variable
|
||||||
|
* (and will automatically be changed by GNUstep to avoid conflicts
|
||||||
|
* with the default implementation in the Objective-C runtime library).
|
||||||
*/
|
*/
|
||||||
+ (Class) constantStringClass
|
+ (Class) constantStringClass
|
||||||
{
|
{
|
||||||
if (NSConstantStringClass == 0)
|
return [NXConstantString class];
|
||||||
{
|
|
||||||
NSConstantStringClass = [NXConstantString class];
|
|
||||||
}
|
|
||||||
return NSConstantStringClass;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Creating Temporary Strings
|
// Creating Temporary Strings
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue