1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-08 11:02:18 +03:00

Add extern "C" { } block to xsltlocale.h

Make it safe to include this file in C++ sources.
This commit is contained in:
David Kilzer
2023-05-11 20:42:47 -07:00
parent 7895729ae6
commit ab6ec2eabb

View File

@@ -14,6 +14,10 @@
#include <libxml/xmlstring.h>
#include "xsltexports.h"
#ifdef __cplusplus
extern "C" {
#endif
XSLTPUBFUN void * XSLTCALL
xsltNewLocale (const xmlChar *langName,
int lowerFirst);
@@ -33,4 +37,8 @@ XSLTPUBFUN int XSLTCALL
const xmlChar *str1,
const xmlChar *str2);
#ifdef __cplusplus
}
#endif
#endif /* __XML_XSLTLOCALE_H__ */