mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Tweaks for building with clang
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29254 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cc9250b32e
commit
072c124d08
24 changed files with 106 additions and 54 deletions
|
@ -114,6 +114,13 @@ extern BOOL GSScanDouble(unichar*, unsigned, double*);
|
|||
|
||||
@implementation GSXMLPListParser
|
||||
|
||||
static Class theClass = 0;
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
theClass = NSClassFromString(@"GSSloppyXMLParser");
|
||||
}
|
||||
|
||||
- (void) dealloc
|
||||
{
|
||||
RELEASE(key);
|
||||
|
@ -129,7 +136,7 @@ extern BOOL GSScanDouble(unichar*, unsigned, double*);
|
|||
{
|
||||
if ((self = [super init]) != nil)
|
||||
{
|
||||
theParser = [[GSSloppyXMLParser alloc] initWithData: data];
|
||||
theParser = [[theClass alloc] initWithData: data];
|
||||
[theParser setDelegate: self];
|
||||
opts = options;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue