mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
change ATTRIBUTE_PRINTF into LIBXML_ATTR_FORMAT to avoid macro name
* include/libxml/parser.h include/libxml/xmlwriter.h include/libxml/relaxng.h include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in include/libxml/valid.h include/libxml/xmlschemas.h include/libxml/xmlerror.h: change ATTRIBUTE_PRINTF into LIBXML_ATTR_FORMAT to avoid macro name collisions with other packages and headers as reported by Belgabor and Mike Hommey daniel svn path=/trunk/; revision=3827
This commit is contained in:
10
ChangeLog
10
ChangeLog
@@ -1,3 +1,13 @@
|
|||||||
|
Wed Apr 15 11:18:24 CEST 2009 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* include/libxml/parser.h include/libxml/xmlwriter.h
|
||||||
|
include/libxml/relaxng.h include/libxml/xmlversion.h.in
|
||||||
|
include/libxml/xmlwin32version.h.in include/libxml/valid.h
|
||||||
|
include/libxml/xmlschemas.h include/libxml/xmlerror.h: change
|
||||||
|
ATTRIBUTE_PRINTF into LIBXML_ATTR_FORMAT to avoid macro name
|
||||||
|
collisions with other packages and headers as reported by
|
||||||
|
Belgabor and Mike Hommey
|
||||||
|
|
||||||
Thu Apr 2 13:57:15 CEST 2009 Daniel Veillard <daniel@veillard.com>
|
Thu Apr 2 13:57:15 CEST 2009 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* error.c: fix structured error handling problems #564217
|
* error.c: fix structured error handling problems #564217
|
||||||
|
|||||||
@@ -594,7 +594,7 @@ typedef void (*cdataBlockSAXFunc) (
|
|||||||
* Display and format a warning messages, callback.
|
* Display and format a warning messages, callback.
|
||||||
*/
|
*/
|
||||||
typedef void (XMLCDECL *warningSAXFunc) (void *ctx,
|
typedef void (XMLCDECL *warningSAXFunc) (void *ctx,
|
||||||
const char *msg, ...) ATTRIBUTE_PRINTF(2,3);
|
const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
|
||||||
/**
|
/**
|
||||||
* errorSAXFunc:
|
* errorSAXFunc:
|
||||||
* @ctx: an XML parser context
|
* @ctx: an XML parser context
|
||||||
@@ -604,7 +604,7 @@ typedef void (XMLCDECL *warningSAXFunc) (void *ctx,
|
|||||||
* Display and format an error messages, callback.
|
* Display and format an error messages, callback.
|
||||||
*/
|
*/
|
||||||
typedef void (XMLCDECL *errorSAXFunc) (void *ctx,
|
typedef void (XMLCDECL *errorSAXFunc) (void *ctx,
|
||||||
const char *msg, ...) ATTRIBUTE_PRINTF(2,3);
|
const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
|
||||||
/**
|
/**
|
||||||
* fatalErrorSAXFunc:
|
* fatalErrorSAXFunc:
|
||||||
* @ctx: an XML parser context
|
* @ctx: an XML parser context
|
||||||
@@ -616,7 +616,7 @@ typedef void (XMLCDECL *errorSAXFunc) (void *ctx,
|
|||||||
* get all the callbacks for errors.
|
* get all the callbacks for errors.
|
||||||
*/
|
*/
|
||||||
typedef void (XMLCDECL *fatalErrorSAXFunc) (void *ctx,
|
typedef void (XMLCDECL *fatalErrorSAXFunc) (void *ctx,
|
||||||
const char *msg, ...) ATTRIBUTE_PRINTF(2,3);
|
const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
|
||||||
/**
|
/**
|
||||||
* isStandaloneSAXFunc:
|
* isStandaloneSAXFunc:
|
||||||
* @ctx: the user data (XML parser context)
|
* @ctx: the user data (XML parser context)
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ typedef xmlRelaxNG *xmlRelaxNGPtr;
|
|||||||
*
|
*
|
||||||
* Signature of an error callback from a Relax-NG validation
|
* Signature of an error callback from a Relax-NG validation
|
||||||
*/
|
*/
|
||||||
typedef void (XMLCDECL *xmlRelaxNGValidityErrorFunc) (void *ctx, const char *msg, ...) ATTRIBUTE_PRINTF(2,3);
|
typedef void (XMLCDECL *xmlRelaxNGValidityErrorFunc) (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* xmlRelaxNGValidityWarningFunc:
|
* xmlRelaxNGValidityWarningFunc:
|
||||||
@@ -42,7 +42,7 @@ typedef void (XMLCDECL *xmlRelaxNGValidityErrorFunc) (void *ctx, const char *msg
|
|||||||
*
|
*
|
||||||
* Signature of a warning callback from a Relax-NG validation
|
* Signature of a warning callback from a Relax-NG validation
|
||||||
*/
|
*/
|
||||||
typedef void (XMLCDECL *xmlRelaxNGValidityWarningFunc) (void *ctx, const char *msg, ...) ATTRIBUTE_PRINTF(2,3);
|
typedef void (XMLCDECL *xmlRelaxNGValidityWarningFunc) (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A schemas validation context
|
* A schemas validation context
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ typedef xmlValidState *xmlValidStatePtr;
|
|||||||
*/
|
*/
|
||||||
typedef void (XMLCDECL *xmlValidityErrorFunc) (void *ctx,
|
typedef void (XMLCDECL *xmlValidityErrorFunc) (void *ctx,
|
||||||
const char *msg,
|
const char *msg,
|
||||||
...) ATTRIBUTE_PRINTF(2,3);
|
...) LIBXML_ATTR_FORMAT(2,3);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* xmlValidityWarningFunc:
|
* xmlValidityWarningFunc:
|
||||||
@@ -56,7 +56,7 @@ typedef void (XMLCDECL *xmlValidityErrorFunc) (void *ctx,
|
|||||||
*/
|
*/
|
||||||
typedef void (XMLCDECL *xmlValidityWarningFunc) (void *ctx,
|
typedef void (XMLCDECL *xmlValidityWarningFunc) (void *ctx,
|
||||||
const char *msg,
|
const char *msg,
|
||||||
...) ATTRIBUTE_PRINTF(2,3);
|
...) LIBXML_ATTR_FORMAT(2,3);
|
||||||
|
|
||||||
#ifdef IN_LIBXML
|
#ifdef IN_LIBXML
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -843,7 +843,7 @@ typedef enum {
|
|||||||
*/
|
*/
|
||||||
typedef void (XMLCDECL *xmlGenericErrorFunc) (void *ctx,
|
typedef void (XMLCDECL *xmlGenericErrorFunc) (void *ctx,
|
||||||
const char *msg,
|
const char *msg,
|
||||||
...) ATTRIBUTE_PRINTF(2,3);
|
...) LIBXML_ATTR_FORMAT(2,3);
|
||||||
/**
|
/**
|
||||||
* xmlStructuredErrorFunc:
|
* xmlStructuredErrorFunc:
|
||||||
* @userData: user provided data for the error callback
|
* @userData: user provided data for the error callback
|
||||||
@@ -874,19 +874,19 @@ XMLPUBFUN void XMLCALL
|
|||||||
XMLPUBFUN void XMLCDECL
|
XMLPUBFUN void XMLCDECL
|
||||||
xmlParserError (void *ctx,
|
xmlParserError (void *ctx,
|
||||||
const char *msg,
|
const char *msg,
|
||||||
...) ATTRIBUTE_PRINTF(2,3);
|
...) LIBXML_ATTR_FORMAT(2,3);
|
||||||
XMLPUBFUN void XMLCDECL
|
XMLPUBFUN void XMLCDECL
|
||||||
xmlParserWarning (void *ctx,
|
xmlParserWarning (void *ctx,
|
||||||
const char *msg,
|
const char *msg,
|
||||||
...) ATTRIBUTE_PRINTF(2,3);
|
...) LIBXML_ATTR_FORMAT(2,3);
|
||||||
XMLPUBFUN void XMLCDECL
|
XMLPUBFUN void XMLCDECL
|
||||||
xmlParserValidityError (void *ctx,
|
xmlParserValidityError (void *ctx,
|
||||||
const char *msg,
|
const char *msg,
|
||||||
...) ATTRIBUTE_PRINTF(2,3);
|
...) LIBXML_ATTR_FORMAT(2,3);
|
||||||
XMLPUBFUN void XMLCDECL
|
XMLPUBFUN void XMLCDECL
|
||||||
xmlParserValidityWarning (void *ctx,
|
xmlParserValidityWarning (void *ctx,
|
||||||
const char *msg,
|
const char *msg,
|
||||||
...) ATTRIBUTE_PRINTF(2,3);
|
...) LIBXML_ATTR_FORMAT(2,3);
|
||||||
XMLPUBFUN void XMLCALL
|
XMLPUBFUN void XMLCALL
|
||||||
xmlParserPrintFileInfo (xmlParserInputPtr input);
|
xmlParserPrintFileInfo (xmlParserInputPtr input);
|
||||||
XMLPUBFUN void XMLCALL
|
XMLPUBFUN void XMLCALL
|
||||||
@@ -930,7 +930,7 @@ XMLPUBFUN void XMLCALL
|
|||||||
int int1,
|
int int1,
|
||||||
int col,
|
int col,
|
||||||
const char *msg,
|
const char *msg,
|
||||||
...) ATTRIBUTE_PRINTF(16,17);
|
...) LIBXML_ATTR_FORMAT(16,17);
|
||||||
XMLPUBFUN void XMLCALL
|
XMLPUBFUN void XMLCALL
|
||||||
__xmlSimpleError (int domain,
|
__xmlSimpleError (int domain,
|
||||||
int code,
|
int code,
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ typedef xmlSchema *xmlSchemaPtr;
|
|||||||
*
|
*
|
||||||
* Signature of an error callback from an XSD validation
|
* Signature of an error callback from an XSD validation
|
||||||
*/
|
*/
|
||||||
typedef void (XMLCDECL *xmlSchemaValidityErrorFunc) (void *ctx, const char *msg, ...) ATTRIBUTE_PRINTF(2,3);
|
typedef void (XMLCDECL *xmlSchemaValidityErrorFunc) (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* xmlSchemaValidityWarningFunc:
|
* xmlSchemaValidityWarningFunc:
|
||||||
@@ -102,7 +102,7 @@ typedef void (XMLCDECL *xmlSchemaValidityErrorFunc) (void *ctx, const char *msg,
|
|||||||
*
|
*
|
||||||
* Signature of a warning callback from an XSD validation
|
* Signature of a warning callback from an XSD validation
|
||||||
*/
|
*/
|
||||||
typedef void (XMLCDECL *xmlSchemaValidityWarningFunc) (void *ctx, const char *msg, ...) ATTRIBUTE_PRINTF(2,3);
|
typedef void (XMLCDECL *xmlSchemaValidityWarningFunc) (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A schemas validation context
|
* A schemas validation context
|
||||||
|
|||||||
@@ -414,19 +414,19 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ATTRIBUTE_PRINTF:
|
* LIBXML_ATTR_FORMAT:
|
||||||
*
|
*
|
||||||
* Macro used to indicate to GCC the parameter are printf like
|
* Macro used to indicate to GCC the parameter are printf like
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ATTRIBUTE_PRINTF
|
#ifndef LIBXML_ATTR_FORMAT
|
||||||
# if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))
|
# if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))
|
||||||
# define ATTRIBUTE_PRINTF(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
|
# define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
|
||||||
# else
|
# else
|
||||||
# define ATTRIBUTE_PRINTF(fmt,args)
|
# define LIBXML_ATTR_FORMAT(fmt,args)
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define ATTRIBUTE_PRINTF(fmt,args)
|
# define LIBXML_ATTR_FORMAT(fmt,args)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else /* ! __GNUC__ */
|
#else /* ! __GNUC__ */
|
||||||
@@ -443,11 +443,11 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
|
|||||||
*/
|
*/
|
||||||
#define ATTRIBUTE_ALLOC_SIZE(x)
|
#define ATTRIBUTE_ALLOC_SIZE(x)
|
||||||
/**
|
/**
|
||||||
* ATTRIBUTE_PRINTF:
|
* LIBXML_ATTR_FORMAT:
|
||||||
*
|
*
|
||||||
* Macro used to indicate to GCC the parameter are printf like
|
* Macro used to indicate to GCC the parameter are printf like
|
||||||
*/
|
*/
|
||||||
#define ATTRIBUTE_PRINTF(fmt,args)
|
#define LIBXML_ATTR_FORMAT(fmt,args)
|
||||||
#endif /* __GNUC__ */
|
#endif /* __GNUC__ */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
@@ -274,24 +274,24 @@ extern void xmlCheckVersion(int version);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ATTRIBUTE_PRINTF:
|
* LIBXML_ATTR_FORMAT:
|
||||||
*
|
*
|
||||||
* Macro used to indicate to GCC the parameter are printf like
|
* Macro used to indicate to GCC the parameter are printf like
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ATTRIBUTE_PRINTF
|
#ifndef LIBXML_ATTR_FORMAT
|
||||||
# if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))
|
# if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))
|
||||||
# define ATTRIBUTE_PRINTF(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
|
# define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
|
||||||
# else
|
# else
|
||||||
# define ATTRIBUTE_PRINTF(fmt,args)
|
# define LIBXML_ATTR_FORMAT(fmt,args)
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define ATTRIBUTE_PRINTF(fmt,args)
|
# define LIBXML_ATTR_FORMAT(fmt,args)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else /* !__GNUC__ */
|
#else /* !__GNUC__ */
|
||||||
#define ATTRIBUTE_UNUSED
|
#define ATTRIBUTE_UNUSED
|
||||||
#define ATTRIBUTE_PRINTF(fmt,args)
|
#define LIBXML_ATTR_FORMAT(fmt,args)
|
||||||
#define ATTRIBUTE_ALLOC_SIZE(x)
|
#define ATTRIBUTE_ALLOC_SIZE(x)
|
||||||
#endif /* __GNUC__ */
|
#endif /* __GNUC__ */
|
||||||
|
|
||||||
|
|||||||
@@ -70,12 +70,12 @@ extern "C" {
|
|||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteFormatComment(xmlTextWriterPtr writer,
|
xmlTextWriterWriteFormatComment(xmlTextWriterPtr writer,
|
||||||
const char *format, ...)
|
const char *format, ...)
|
||||||
ATTRIBUTE_PRINTF(2,3);
|
LIBXML_ATTR_FORMAT(2,3);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteVFormatComment(xmlTextWriterPtr writer,
|
xmlTextWriterWriteVFormatComment(xmlTextWriterPtr writer,
|
||||||
const char *format,
|
const char *format,
|
||||||
va_list argptr)
|
va_list argptr)
|
||||||
ATTRIBUTE_PRINTF(2,0);
|
LIBXML_ATTR_FORMAT(2,0);
|
||||||
XMLPUBFUN int XMLCALL xmlTextWriterWriteComment(xmlTextWriterPtr
|
XMLPUBFUN int XMLCALL xmlTextWriterWriteComment(xmlTextWriterPtr
|
||||||
writer,
|
writer,
|
||||||
const xmlChar *
|
const xmlChar *
|
||||||
@@ -105,13 +105,13 @@ extern "C" {
|
|||||||
xmlTextWriterWriteFormatElement(xmlTextWriterPtr writer,
|
xmlTextWriterWriteFormatElement(xmlTextWriterPtr writer,
|
||||||
const xmlChar * name,
|
const xmlChar * name,
|
||||||
const char *format, ...)
|
const char *format, ...)
|
||||||
ATTRIBUTE_PRINTF(3,4);
|
LIBXML_ATTR_FORMAT(3,4);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteVFormatElement(xmlTextWriterPtr writer,
|
xmlTextWriterWriteVFormatElement(xmlTextWriterPtr writer,
|
||||||
const xmlChar * name,
|
const xmlChar * name,
|
||||||
const char *format,
|
const char *format,
|
||||||
va_list argptr)
|
va_list argptr)
|
||||||
ATTRIBUTE_PRINTF(3,0);
|
LIBXML_ATTR_FORMAT(3,0);
|
||||||
XMLPUBFUN int XMLCALL xmlTextWriterWriteElement(xmlTextWriterPtr
|
XMLPUBFUN int XMLCALL xmlTextWriterWriteElement(xmlTextWriterPtr
|
||||||
writer,
|
writer,
|
||||||
const xmlChar * name,
|
const xmlChar * name,
|
||||||
@@ -123,7 +123,7 @@ extern "C" {
|
|||||||
const xmlChar * name,
|
const xmlChar * name,
|
||||||
const xmlChar * namespaceURI,
|
const xmlChar * namespaceURI,
|
||||||
const char *format, ...)
|
const char *format, ...)
|
||||||
ATTRIBUTE_PRINTF(5,6);
|
LIBXML_ATTR_FORMAT(5,6);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteVFormatElementNS(xmlTextWriterPtr writer,
|
xmlTextWriterWriteVFormatElementNS(xmlTextWriterPtr writer,
|
||||||
const xmlChar * prefix,
|
const xmlChar * prefix,
|
||||||
@@ -131,7 +131,7 @@ extern "C" {
|
|||||||
const xmlChar * namespaceURI,
|
const xmlChar * namespaceURI,
|
||||||
const char *format,
|
const char *format,
|
||||||
va_list argptr)
|
va_list argptr)
|
||||||
ATTRIBUTE_PRINTF(5,0);
|
LIBXML_ATTR_FORMAT(5,0);
|
||||||
XMLPUBFUN int XMLCALL xmlTextWriterWriteElementNS(xmlTextWriterPtr
|
XMLPUBFUN int XMLCALL xmlTextWriterWriteElementNS(xmlTextWriterPtr
|
||||||
writer,
|
writer,
|
||||||
const xmlChar *
|
const xmlChar *
|
||||||
@@ -148,11 +148,11 @@ extern "C" {
|
|||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteFormatRaw(xmlTextWriterPtr writer,
|
xmlTextWriterWriteFormatRaw(xmlTextWriterPtr writer,
|
||||||
const char *format, ...)
|
const char *format, ...)
|
||||||
ATTRIBUTE_PRINTF(2,3);
|
LIBXML_ATTR_FORMAT(2,3);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteVFormatRaw(xmlTextWriterPtr writer,
|
xmlTextWriterWriteVFormatRaw(xmlTextWriterPtr writer,
|
||||||
const char *format, va_list argptr)
|
const char *format, va_list argptr)
|
||||||
ATTRIBUTE_PRINTF(2,0);
|
LIBXML_ATTR_FORMAT(2,0);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteRawLen(xmlTextWriterPtr writer,
|
xmlTextWriterWriteRawLen(xmlTextWriterPtr writer,
|
||||||
const xmlChar * content, int len);
|
const xmlChar * content, int len);
|
||||||
@@ -163,13 +163,13 @@ extern "C" {
|
|||||||
writer,
|
writer,
|
||||||
const char
|
const char
|
||||||
*format, ...)
|
*format, ...)
|
||||||
ATTRIBUTE_PRINTF(2,3);
|
LIBXML_ATTR_FORMAT(2,3);
|
||||||
XMLPUBFUN int XMLCALL xmlTextWriterWriteVFormatString(xmlTextWriterPtr
|
XMLPUBFUN int XMLCALL xmlTextWriterWriteVFormatString(xmlTextWriterPtr
|
||||||
writer,
|
writer,
|
||||||
const char
|
const char
|
||||||
*format,
|
*format,
|
||||||
va_list argptr)
|
va_list argptr)
|
||||||
ATTRIBUTE_PRINTF(2,0);
|
LIBXML_ATTR_FORMAT(2,0);
|
||||||
XMLPUBFUN int XMLCALL xmlTextWriterWriteString(xmlTextWriterPtr writer,
|
XMLPUBFUN int XMLCALL xmlTextWriterWriteString(xmlTextWriterPtr writer,
|
||||||
const xmlChar *
|
const xmlChar *
|
||||||
content);
|
content);
|
||||||
@@ -204,13 +204,13 @@ extern "C" {
|
|||||||
xmlTextWriterWriteFormatAttribute(xmlTextWriterPtr writer,
|
xmlTextWriterWriteFormatAttribute(xmlTextWriterPtr writer,
|
||||||
const xmlChar * name,
|
const xmlChar * name,
|
||||||
const char *format, ...)
|
const char *format, ...)
|
||||||
ATTRIBUTE_PRINTF(3,4);
|
LIBXML_ATTR_FORMAT(3,4);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteVFormatAttribute(xmlTextWriterPtr writer,
|
xmlTextWriterWriteVFormatAttribute(xmlTextWriterPtr writer,
|
||||||
const xmlChar * name,
|
const xmlChar * name,
|
||||||
const char *format,
|
const char *format,
|
||||||
va_list argptr)
|
va_list argptr)
|
||||||
ATTRIBUTE_PRINTF(3,0);
|
LIBXML_ATTR_FORMAT(3,0);
|
||||||
XMLPUBFUN int XMLCALL xmlTextWriterWriteAttribute(xmlTextWriterPtr
|
XMLPUBFUN int XMLCALL xmlTextWriterWriteAttribute(xmlTextWriterPtr
|
||||||
writer,
|
writer,
|
||||||
const xmlChar * name,
|
const xmlChar * name,
|
||||||
@@ -222,7 +222,7 @@ extern "C" {
|
|||||||
const xmlChar * name,
|
const xmlChar * name,
|
||||||
const xmlChar * namespaceURI,
|
const xmlChar * namespaceURI,
|
||||||
const char *format, ...)
|
const char *format, ...)
|
||||||
ATTRIBUTE_PRINTF(5,6);
|
LIBXML_ATTR_FORMAT(5,6);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteVFormatAttributeNS(xmlTextWriterPtr writer,
|
xmlTextWriterWriteVFormatAttributeNS(xmlTextWriterPtr writer,
|
||||||
const xmlChar * prefix,
|
const xmlChar * prefix,
|
||||||
@@ -230,7 +230,7 @@ extern "C" {
|
|||||||
const xmlChar * namespaceURI,
|
const xmlChar * namespaceURI,
|
||||||
const char *format,
|
const char *format,
|
||||||
va_list argptr)
|
va_list argptr)
|
||||||
ATTRIBUTE_PRINTF(5,0);
|
LIBXML_ATTR_FORMAT(5,0);
|
||||||
XMLPUBFUN int XMLCALL xmlTextWriterWriteAttributeNS(xmlTextWriterPtr
|
XMLPUBFUN int XMLCALL xmlTextWriterWriteAttributeNS(xmlTextWriterPtr
|
||||||
writer,
|
writer,
|
||||||
const xmlChar *
|
const xmlChar *
|
||||||
@@ -257,12 +257,12 @@ extern "C" {
|
|||||||
xmlTextWriterWriteFormatPI(xmlTextWriterPtr writer,
|
xmlTextWriterWriteFormatPI(xmlTextWriterPtr writer,
|
||||||
const xmlChar * target,
|
const xmlChar * target,
|
||||||
const char *format, ...)
|
const char *format, ...)
|
||||||
ATTRIBUTE_PRINTF(3,4);
|
LIBXML_ATTR_FORMAT(3,4);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteVFormatPI(xmlTextWriterPtr writer,
|
xmlTextWriterWriteVFormatPI(xmlTextWriterPtr writer,
|
||||||
const xmlChar * target,
|
const xmlChar * target,
|
||||||
const char *format, va_list argptr)
|
const char *format, va_list argptr)
|
||||||
ATTRIBUTE_PRINTF(3,0);
|
LIBXML_ATTR_FORMAT(3,0);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWritePI(xmlTextWriterPtr writer,
|
xmlTextWriterWritePI(xmlTextWriterPtr writer,
|
||||||
const xmlChar * target,
|
const xmlChar * target,
|
||||||
@@ -287,11 +287,11 @@ extern "C" {
|
|||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteFormatCDATA(xmlTextWriterPtr writer,
|
xmlTextWriterWriteFormatCDATA(xmlTextWriterPtr writer,
|
||||||
const char *format, ...)
|
const char *format, ...)
|
||||||
ATTRIBUTE_PRINTF(2,3);
|
LIBXML_ATTR_FORMAT(2,3);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteVFormatCDATA(xmlTextWriterPtr writer,
|
xmlTextWriterWriteVFormatCDATA(xmlTextWriterPtr writer,
|
||||||
const char *format, va_list argptr)
|
const char *format, va_list argptr)
|
||||||
ATTRIBUTE_PRINTF(2,0);
|
LIBXML_ATTR_FORMAT(2,0);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteCDATA(xmlTextWriterPtr writer,
|
xmlTextWriterWriteCDATA(xmlTextWriterPtr writer,
|
||||||
const xmlChar * content);
|
const xmlChar * content);
|
||||||
@@ -315,14 +315,14 @@ extern "C" {
|
|||||||
const xmlChar * pubid,
|
const xmlChar * pubid,
|
||||||
const xmlChar * sysid,
|
const xmlChar * sysid,
|
||||||
const char *format, ...)
|
const char *format, ...)
|
||||||
ATTRIBUTE_PRINTF(5,6);
|
LIBXML_ATTR_FORMAT(5,6);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteVFormatDTD(xmlTextWriterPtr writer,
|
xmlTextWriterWriteVFormatDTD(xmlTextWriterPtr writer,
|
||||||
const xmlChar * name,
|
const xmlChar * name,
|
||||||
const xmlChar * pubid,
|
const xmlChar * pubid,
|
||||||
const xmlChar * sysid,
|
const xmlChar * sysid,
|
||||||
const char *format, va_list argptr)
|
const char *format, va_list argptr)
|
||||||
ATTRIBUTE_PRINTF(5,0);
|
LIBXML_ATTR_FORMAT(5,0);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteDTD(xmlTextWriterPtr writer,
|
xmlTextWriterWriteDTD(xmlTextWriterPtr writer,
|
||||||
const xmlChar * name,
|
const xmlChar * name,
|
||||||
@@ -353,13 +353,13 @@ extern "C" {
|
|||||||
xmlTextWriterWriteFormatDTDElement(xmlTextWriterPtr writer,
|
xmlTextWriterWriteFormatDTDElement(xmlTextWriterPtr writer,
|
||||||
const xmlChar * name,
|
const xmlChar * name,
|
||||||
const char *format, ...)
|
const char *format, ...)
|
||||||
ATTRIBUTE_PRINTF(3,4);
|
LIBXML_ATTR_FORMAT(3,4);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteVFormatDTDElement(xmlTextWriterPtr writer,
|
xmlTextWriterWriteVFormatDTDElement(xmlTextWriterPtr writer,
|
||||||
const xmlChar * name,
|
const xmlChar * name,
|
||||||
const char *format,
|
const char *format,
|
||||||
va_list argptr)
|
va_list argptr)
|
||||||
ATTRIBUTE_PRINTF(3,0);
|
LIBXML_ATTR_FORMAT(3,0);
|
||||||
XMLPUBFUN int XMLCALL xmlTextWriterWriteDTDElement(xmlTextWriterPtr
|
XMLPUBFUN int XMLCALL xmlTextWriterWriteDTDElement(xmlTextWriterPtr
|
||||||
writer,
|
writer,
|
||||||
const xmlChar *
|
const xmlChar *
|
||||||
@@ -383,13 +383,13 @@ extern "C" {
|
|||||||
xmlTextWriterWriteFormatDTDAttlist(xmlTextWriterPtr writer,
|
xmlTextWriterWriteFormatDTDAttlist(xmlTextWriterPtr writer,
|
||||||
const xmlChar * name,
|
const xmlChar * name,
|
||||||
const char *format, ...)
|
const char *format, ...)
|
||||||
ATTRIBUTE_PRINTF(3,4);
|
LIBXML_ATTR_FORMAT(3,4);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteVFormatDTDAttlist(xmlTextWriterPtr writer,
|
xmlTextWriterWriteVFormatDTDAttlist(xmlTextWriterPtr writer,
|
||||||
const xmlChar * name,
|
const xmlChar * name,
|
||||||
const char *format,
|
const char *format,
|
||||||
va_list argptr)
|
va_list argptr)
|
||||||
ATTRIBUTE_PRINTF(3,0);
|
LIBXML_ATTR_FORMAT(3,0);
|
||||||
XMLPUBFUN int XMLCALL xmlTextWriterWriteDTDAttlist(xmlTextWriterPtr
|
XMLPUBFUN int XMLCALL xmlTextWriterWriteDTDAttlist(xmlTextWriterPtr
|
||||||
writer,
|
writer,
|
||||||
const xmlChar *
|
const xmlChar *
|
||||||
@@ -414,14 +414,14 @@ extern "C" {
|
|||||||
int pe,
|
int pe,
|
||||||
const xmlChar * name,
|
const xmlChar * name,
|
||||||
const char *format, ...)
|
const char *format, ...)
|
||||||
ATTRIBUTE_PRINTF(4,5);
|
LIBXML_ATTR_FORMAT(4,5);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteVFormatDTDInternalEntity(xmlTextWriterPtr writer,
|
xmlTextWriterWriteVFormatDTDInternalEntity(xmlTextWriterPtr writer,
|
||||||
int pe,
|
int pe,
|
||||||
const xmlChar * name,
|
const xmlChar * name,
|
||||||
const char *format,
|
const char *format,
|
||||||
va_list argptr)
|
va_list argptr)
|
||||||
ATTRIBUTE_PRINTF(4,0);
|
LIBXML_ATTR_FORMAT(4,0);
|
||||||
XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL
|
||||||
xmlTextWriterWriteDTDInternalEntity(xmlTextWriterPtr writer,
|
xmlTextWriterWriteDTDInternalEntity(xmlTextWriterPtr writer,
|
||||||
int pe,
|
int pe,
|
||||||
|
|||||||
Reference in New Issue
Block a user