Skip to content

Commit

Permalink
Chunked XML parser can't access NSXMLParser variables or _NSXMLParser…
Browse files Browse the repository at this point in the history
…Info class under 64-bit ObjC ABI.
  • Loading branch information
AlanQuatermain committed Apr 14, 2009
1 parent 3df3b8d commit c62166e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChunkedXMLParser/AQChunkedXMLParser.h
Expand Up @@ -36,6 +36,9 @@
*
*/

// access to _NSXMLParserInfo class and to member variables doesn't work with 64-bit ObjC ABI
#ifndef __LP64__

#import <Cocoa/Cocoa.h>
#import "AQChunkedXMLData.h"

Expand All @@ -47,3 +50,5 @@
- (BOOL) parse;

@end

#endif // __LP64__
5 changes: 5 additions & 0 deletions ChunkedXMLParser/AQChunkedXMLParser.m
Expand Up @@ -36,6 +36,9 @@
*
*/

// access to _NSXMLParserInfo class and to member variables doesn't work with 64-bit ObjC ABI
#ifndef __LP64__

#import "AQChunkedXMLParser.h"
#import <libxml/parser.h> // add /usr/include/libxml2 to header search paths

Expand Down Expand Up @@ -152,3 +155,5 @@ - (BOOL) parse
}

@end

#endif // __LP64__

0 comments on commit c62166e

Please sign in to comment.