NSXMLDocument is starting to compile now

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34485 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Doug Simons 2012-01-10 22:25:22 +00:00
parent 7566c5da55
commit 4096c0a471
2 changed files with 34 additions and 25 deletions

View file

@ -34,6 +34,14 @@
#define EXPOSE_NSXMLElement_IVARS 1
#define EXPOSE_NSXMLNode_IVARS 1
/*
* Macro to cast string to correct type for libxml2
*/
#define XMLSTRING(X) ((const unsigned char*)[X UTF8String])
#define MY_DOC ((xmlDoc *)internal->node)
/* Instance variables for NSXMLNode. This macro needs to be defined before
* the NSXMLNode.h header is imported and before GSInternal.h is imported.
*