Minor changes for baseadd compilation and compiler warnings.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18394 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2004-01-12 19:42:18 +00:00
parent 06deb92741
commit d7651856b9
7 changed files with 34 additions and 5 deletions

View file

@ -31,6 +31,7 @@
#include <Foundation/NSThread.h>
#include "GNUstepBase/GSLock.h"
#include "GNUstepBase/GNUstep.h"
#include "GNUstepBase/GSCategories.h"
/**
* This implements a class which, when used in single-threaded mode,

View file

@ -53,6 +53,10 @@
@class NSNull;
@interface NSObject (MissingFromMacOSX)
- (IMP) methodForSelector: (SEL)aSelector;
@end
/** Deprecated ... use GSObjCFindVariable() */
BOOL
GSFindInstanceVariable(id obj, const char *name,

View file

@ -119,6 +119,15 @@ static xmlParserInputPtr
loadEntityFunction(const unsigned char *url, const unsigned char *eid,
xmlParserCtxtPtr ctxt);
@interface NSObject (MissingFromMacOSX)
- (IMP) methodForSelector: (SEL)aSelector;
@end
@interface GSXPathObject(Private)
+ (id) _newWithNativePointer: (xmlXPathObject *)lib
context: (GSXPathContext *)context;
@end
@interface GSXMLDocument (GSPrivate)
- (id) _initFrom: (void*)data parent: (id)p ownsLib: (BOOL)f;
@end
@ -1643,7 +1652,7 @@ static NSMapTable *nodeNames = 0;
*/
@implementation GSXMLParser
static NSMapTable *warnings = 0;
static NSHashTable *warnings = 0;
static NSString *endMarker = @"At end of incremental parse";