mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-04-22 15:00:45 +00:00
* GSWeb.framework/GSWElementID.m
o fixed use of static SEL git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20505 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
54b40d09b4
commit
8a7e040a2f
2 changed files with 16 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
2004-12-31 David Wetzel <dave@turbocat.de>
|
||||
* GSWeb.framework/GSWElementID.m
|
||||
o fixed use of static SEL
|
||||
|
||||
2004-12-27 Manuel Guesdon <mguesdon@orange-concept.com>
|
||||
* GSWAdaptors/common/GSWStats[hc]:
|
||||
o added
|
||||
|
|
|
@ -102,8 +102,8 @@ NSString* GSWElementIDPartDescription(GSWElementIDPart* part)
|
|||
//====================================================================
|
||||
@implementation GSWElementID
|
||||
|
||||
static SEL deleteElementsFromIndexSelector=@selector(_deleteElementsFromIndex:);
|
||||
static SEL buildElementPartsSelector=@selector(_buildElementParts);
|
||||
static SEL deleteElementsFromIndexSelector=NULL;
|
||||
static SEL buildElementPartsSelector=NULL;
|
||||
|
||||
SEL appendZeroElementIDComponentSEL=NULL;
|
||||
SEL deleteLastElementIDComponentSEL=NULL;
|
||||
|
@ -113,6 +113,8 @@ SEL deleteLastElementIDComponentSEL=NULL;
|
|||
{
|
||||
if (self == [GSWElementID class])
|
||||
{
|
||||
deleteElementsFromIndexSelector=@selector(_deleteElementsFromIndex:);
|
||||
buildElementPartsSelector=@selector(_buildElementParts);
|
||||
appendZeroElementIDComponentSEL=@selector(appendZeroElementIDComponent);
|
||||
deleteLastElementIDComponentSEL=@selector(deleteLastElementIDComponent);
|
||||
};
|
||||
|
@ -563,8 +565,9 @@ For better performences, senderID should be an immutable string
|
|||
/** Build parts _elementIDString **/
|
||||
-(void)_buildElementParts
|
||||
{
|
||||
static SEL appendStringSelector=@selector(appendString:);
|
||||
static SEL setStringSelector=@selector(setString:);
|
||||
static SEL appendStringSelector=NULL;
|
||||
static SEL setStringSelector=NULL;
|
||||
|
||||
static NSString* preBuiltDotPlusNum[] = {
|
||||
@".0", @".1", @".2", @".3", @".4", @".5", @".6", @".7", @".8", @".9",
|
||||
@".10", @".11", @".12", @".13", @".14", @".15", @".16", @".17", @".18", @".19",
|
||||
|
@ -575,6 +578,11 @@ For better performences, senderID should be an immutable string
|
|||
@".60", @".61", @".62", @".63", @".64", @".65", @".66", @".67", @".68", @".69" };
|
||||
static int preBuiltDotPlusNumCount = sizeof(preBuiltDotPlusNum)/sizeof(NSString*);
|
||||
|
||||
// this avoids an cc error, so don't mix with static
|
||||
appendStringSelector=@selector(appendString:);
|
||||
setStringSelector=@selector(setString:);
|
||||
|
||||
|
||||
LOGObjectFnStart();
|
||||
|
||||
NSDebugMLLog(@"GSWElementID",@"_partsCount=%d _builtPartCount=%d",
|
||||
|
|
Loading…
Reference in a new issue