1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

xml2: Use WINAPIV calling convention for variadic functions.

This commit is contained in:
Alexandre Julliard 2022-11-04 21:17:42 +01:00
parent 89cad8c4b7
commit e742eeb6c3
4 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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,

View File

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

View File

@ -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,