Commit e742eeb6 authored by Alexandre Julliard's avatar Alexandre Julliard

xml2: Use WINAPIV calling convention for variadic functions.

parent 89cad8c4
...@@ -827,7 +827,7 @@ int xmlThrDefDoValidityCheckingDefaultValue(int v) { ...@@ -827,7 +827,7 @@ int xmlThrDefDoValidityCheckingDefaultValue(int v) {
} }
#undef xmlGenericError #undef xmlGenericError
xmlGenericErrorFunc * xmlGenericErrorFunc * XMLCALL
__xmlGenericError(void) { __xmlGenericError(void) {
if (IS_MAIN_THREAD) if (IS_MAIN_THREAD)
return (&xmlGenericError); return (&xmlGenericError);
......
...@@ -916,7 +916,7 @@ XMLPUBFUN int XMLCALL ...@@ -916,7 +916,7 @@ XMLPUBFUN int XMLCALL
/* /*
* Internal callback reporting routine * Internal callback reporting routine
*/ */
XMLPUBFUN void XMLCALL XMLPUBFUN void XMLCDECL
__xmlRaiseError (xmlStructuredErrorFunc schannel, __xmlRaiseError (xmlStructuredErrorFunc schannel,
xmlGenericErrorFunc channel, xmlGenericErrorFunc channel,
void *data, void *data,
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#else #else
#define XMLCALL __cdecl #define XMLCALL __cdecl
#endif #endif
#define XMLCDECL __cdecl #define XMLCDECL WINAPIV
/** DOC_ENABLE */ /** DOC_ENABLE */
#else /* not Windows */ #else /* not Windows */
......
...@@ -94,7 +94,7 @@ XMLPUBFUN xmlChar * XMLCALL ...@@ -94,7 +94,7 @@ XMLPUBFUN xmlChar * XMLCALL
xmlStrncatNew (const xmlChar *str1, xmlStrncatNew (const xmlChar *str1,
const xmlChar *str2, const xmlChar *str2,
int len); int len);
XMLPUBFUN int XMLCALL XMLPUBFUN int XMLCDECL
xmlStrPrintf (xmlChar *buf, xmlStrPrintf (xmlChar *buf,
int len, int len,
const char *msg, const char *msg,
......
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