Commit e4e51317 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

- Fixed bug #4344 - Fixed C++ problems in headers - Released 1.8.1 Daniel

- Fixed bug #4344
- Fixed C++ problems in headers
- Released 1.8.1
Daniel
parent 323c48c8
/*
* SAX.c : Default SAX handler interfaces.
* SAX.h : Default SAX handler interfaces.
*
* See Copyright for the status of this software.
*
......@@ -14,6 +14,10 @@
#ifndef __XML_SAX_H__
#define __XML_SAX_H__
#ifdef __cplusplus
#define extern "C" {
#endif
const xmlChar * getPublicId (void *ctx);
const xmlChar * getSystemId (void *ctx);
void setDocumentLocator (void *ctx,
......@@ -105,4 +109,7 @@ void cdataBlock (void *ctx,
void xmlDefaultSAXHandlerInit (void);
void htmlDefaultSAXHandlerInit (void);
#ifdef __cplusplus
}
#endif
#endif /* __XML_SAX_H__ */
No preview for this file type
/*
* SAX.c : Default SAX handler interfaces.
* SAX.h : Default SAX handler interfaces.
*
* See Copyright for the status of this software.
*
......@@ -14,6 +14,10 @@
#ifndef __XML_SAX_H__
#define __XML_SAX_H__
#ifdef __cplusplus
#define extern "C" {
#endif
const xmlChar * getPublicId (void *ctx);
const xmlChar * getSystemId (void *ctx);
void setDocumentLocator (void *ctx,
......@@ -105,4 +109,7 @@ void cdataBlock (void *ctx,
void xmlDefaultSAXHandlerInit (void);
void htmlDefaultSAXHandlerInit (void);
#ifdef __cplusplus
}
#endif
#endif /* __XML_SAX_H__ */
......@@ -12,6 +12,9 @@
#ifndef __XML_XPATH_H__
#define __XML_XPATH_H__
#ifdef __cplusplus
#define extern "C" {
#endif
#include "tree.h"
typedef struct xmlXPathParserContext *xmlXPathParserContextPtr;
......@@ -202,4 +205,7 @@ void xmlXPathFreeObject (xmlXPathObjectPtr obj);
xmlXPathObjectPtr xmlXPathEvalExpression (const xmlChar *str,
xmlXPathContextPtr ctxt);
#ifdef __cplusplus
}
#endif
#endif /* ! __XML_XPATH_H__ */
#ifndef __XML_ERROR_H__
#define __XML_ERROR_H__
#ifdef __cplusplus
#define extern "C" {
#endif
#include "parser.h"
typedef enum {
......@@ -131,4 +134,7 @@ void xmlParserValidityWarning(void *ctx,
void xmlParserPrintFileInfo (xmlParserInputPtr input);
void xmlParserPrintFileContext(xmlParserInputPtr input);
#ifdef __cplusplus
}
#endif
#endif /* __XML_ERROR_H__ */
......@@ -12,6 +12,9 @@
#ifndef __XML_XPATH_H__
#define __XML_XPATH_H__
#ifdef __cplusplus
#define extern "C" {
#endif
#include "tree.h"
typedef struct xmlXPathParserContext *xmlXPathParserContextPtr;
......@@ -202,4 +205,7 @@ void xmlXPathFreeObject (xmlXPathObjectPtr obj);
xmlXPathObjectPtr xmlXPathEvalExpression (const xmlChar *str,
xmlXPathContextPtr ctxt);
#ifdef __cplusplus
}
#endif
#endif /* ! __XML_XPATH_H__ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment