1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-04-24 18:50:07 +03:00

- 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
This commit is contained in:
Daniel Veillard 1999-12-18 15:32:46 +00:00
parent 323c48c880
commit e4e51317de
6 changed files with 34 additions and 2 deletions

9
SAX.h
View File

@ -1,5 +1,5 @@
/*
* 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__ */

Binary file not shown.

View File

@ -1,5 +1,5 @@
/*
* 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__ */

View File

@ -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__ */

View File

@ -1,6 +1,9 @@
#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__ */

View File

@ -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__ */