diff options
author | David Kilzer <ddkilzer@apple.com> | 2023-05-11 20:42:47 -0700 |
---|---|---|
committer | David Kilzer <ddkilzer@apple.com> | 2023-05-11 20:43:41 -0700 |
commit | ab6ec2eabb14e2da973d427f0c6c74a72366f407 (patch) | |
tree | 9be441ba2812e0c7d1dc49305a858905a50a5b2f /libxslt/xsltlocale.h | |
parent | 7895729ae67f7eeeb7f7abe7140e4b31d2097b2c (diff) | |
download | libxslt-master.tar.gz |
Make it safe to include this file in C++ sources.
Diffstat (limited to 'libxslt/xsltlocale.h')
-rw-r--r-- | libxslt/xsltlocale.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libxslt/xsltlocale.h b/libxslt/xsltlocale.h index 10a4402f..c8be58d3 100644 --- a/libxslt/xsltlocale.h +++ b/libxslt/xsltlocale.h @@ -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__ */ |