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:
@@ -14,6 +14,10 @@
|
|||||||
#include <libxml/xmlstring.h>
|
#include <libxml/xmlstring.h>
|
||||||
#include "xsltexports.h"
|
#include "xsltexports.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
XSLTPUBFUN void * XSLTCALL
|
XSLTPUBFUN void * XSLTCALL
|
||||||
xsltNewLocale (const xmlChar *langName,
|
xsltNewLocale (const xmlChar *langName,
|
||||||
int lowerFirst);
|
int lowerFirst);
|
||||||
@@ -33,4 +37,8 @@ XSLTPUBFUN int XSLTCALL
|
|||||||
const xmlChar *str1,
|
const xmlChar *str1,
|
||||||
const xmlChar *str2);
|
const xmlChar *str2);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __XML_XSLTLOCALE_H__ */
|
#endif /* __XML_XSLTLOCALE_H__ */
|
||||||
|
|||||||
Reference in New Issue
Block a user