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:
parent
323c48c880
commit
e4e51317de
9
SAX.h
9
SAX.h
@ -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__ */
|
||||
|
BIN
doc/xml.html
BIN
doc/xml.html
Binary file not shown.
@ -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__ */
|
||||
|
@ -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__ */
|
||||
|
@ -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__ */
|
||||
|
6
xpath.h
6
xpath.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__ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user