mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Fully type method implementatyion pointers.
This commit is contained in:
parent
4e98c82396
commit
09e9354f08
8 changed files with 35 additions and 31 deletions
|
@ -104,7 +104,7 @@
|
|||
*/
|
||||
static Class NSString_class;
|
||||
static Class treeClass;
|
||||
static IMP usImp;
|
||||
static id (*usImp)(id, SEL, const char*);
|
||||
static SEL usSel;
|
||||
|
||||
static xmlExternalEntityLoader originalLoader = NULL;
|
||||
|
@ -166,7 +166,8 @@ setupCache()
|
|||
xmlDefaultSAXHandlerInit();
|
||||
NSString_class = [NSString class];
|
||||
usSel = @selector(stringWithUTF8String:);
|
||||
usImp = [NSString_class methodForSelector: usSel];
|
||||
usImp = (id (*)(id, SEL, const char*))
|
||||
[NSString_class methodForSelector: usSel];
|
||||
treeClass = [GSTreeSAXHandler class];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue