mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Update for new XML code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9712 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f8a7f50981
commit
4f6f5da802
1 changed files with 12 additions and 0 deletions
|
@ -3675,6 +3675,10 @@ handle_printf_atsign (FILE *stream,
|
||||||
#if HAVE_LIBXML
|
#if HAVE_LIBXML
|
||||||
#include <Foundation/GSXML.h>
|
#include <Foundation/GSXML.h>
|
||||||
|
|
||||||
|
#ifndef __XML_TREE_H__
|
||||||
|
static int XML_ELEMENT_NODE;
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
decodeBase64Unit(const char* ptr, unsigned char *out)
|
decodeBase64Unit(const char* ptr, unsigned char *out)
|
||||||
{
|
{
|
||||||
|
@ -4270,6 +4274,14 @@ nodeToObject(GSXMLNode* node)
|
||||||
static void
|
static void
|
||||||
setupPl()
|
setupPl()
|
||||||
{
|
{
|
||||||
|
#if HAVE_LIBXML
|
||||||
|
#ifndef __XML_TREE_H__
|
||||||
|
/*
|
||||||
|
* Cache XML node information.
|
||||||
|
*/
|
||||||
|
XML_ELEMENT_NODE = [GSXMLNode typeFromDescription: @"XML_ELEMENT_NODE"];
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
plAlloc = (id (*)(id, SEL, NSZone*))
|
plAlloc = (id (*)(id, SEL, NSZone*))
|
||||||
[NSStringClass methodForSelector: @selector(allocWithZone:)];
|
[NSStringClass methodForSelector: @selector(allocWithZone:)];
|
||||||
plInit = (id (*)(id, SEL, unichar*, unsigned))
|
plInit = (id (*)(id, SEL, unichar*, unsigned))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue