Fixed NSXMLNode compilation when using the "pure" non-fragile ABI

(--disable-mixedabi was passed to Base configure).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34013 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Quentin Mathe 2011-10-17 10:24:07 +00:00
parent 765e64da85
commit 32bdf04b26
3 changed files with 14 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2011-10-15 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/Foundation/NSXMLNode.h:
* Source/NSXMLNode.m:
Fixed NSXMLNode compilation when using the "pure" non-fragile ABI
(--disable-mixedabi was passed to Base configure).
2011-10-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSString.m (-initWithCoder:): In keyed coding the key

View file

@ -89,6 +89,9 @@ typedef NSUInteger NSXMLNodeKind;
id _objectValue;
#endif
#if GS_NONFRAGILE
# if defined(GS_NSXMLNode_IVARS)
@public GS_NSXMLNode_IVARS
# endif
#else
/* Pointer to private additional data used to avoid breaking ABI
* when we don't have the non-fragile ABI available.

View file

@ -24,8 +24,6 @@
#import "common.h"
#import "NSXMLPrivate.h"
/*
* Description of internal ivars:
* - `children': The primary storage for the descendant nodes. We use an NSArray
@ -43,12 +41,15 @@
NSUInteger childCount; \
NSXMLNode *previousSibling; \
NSXMLNode *nextSibling; \
NSUInteger options
NSUInteger options;
#define GSInternal NSXMLNodeInternal
#include "GSInternal.h"
@class NSXMLNode;
GS_PRIVATE_INTERNAL(NSXMLNode)
#import "NSXMLPrivate.h"
@implementation NSXMLNode
+ (id) attributeWithName: (NSString*)name