[libxslt] Add public function macros to xsltlocale.h



commit b73abf1bcf79ade8776002c929d2900aefe40e13
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Tue Apr 19 16:11:09 2016 +0200

    Add public function macros to xsltlocale.h
    
    Fixes bug #743408:
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743408

 libxslt/xsltlocale.h |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/libxslt/xsltlocale.h b/libxslt/xsltlocale.h
index 9af4adc..8a9ca15 100644
--- a/libxslt/xsltlocale.h
+++ b/libxslt/xsltlocale.h
@@ -12,6 +12,7 @@
 #define __XML_XSLTLOCALE_H__
 
 #include <libxml/xmlstring.h>
+#include "xsltexports.h"
 
 #ifdef XSLT_LOCALE_XLOCALE
 
@@ -49,10 +50,18 @@ typedef xmlChar xsltLocaleChar;
 
 #endif
 
-xsltLocale xsltNewLocale(const xmlChar *langName);
-void xsltFreeLocale(xsltLocale locale);
-xsltLocaleChar *xsltStrxfrm(xsltLocale locale, const xmlChar *string);
-int xsltLocaleStrcmp(xsltLocale locale, const xsltLocaleChar *str1, const xsltLocaleChar *str2);
-void xsltFreeLocales(void);
+XSLTPUBFUN xsltLocale XSLTCALL
+       xsltNewLocale                   (const xmlChar *langName);
+XSLTPUBFUN void XSLTCALL
+       xsltFreeLocale                  (xsltLocale locale);
+XSLTPUBFUN xsltLocaleChar * XSLTCALL
+       xsltStrxfrm                     (xsltLocale locale,
+                                        const xmlChar *string);
+XSLTPUBFUN int XSLTCALL
+       xsltLocaleStrcmp                (xsltLocale locale,
+                                        const xsltLocaleChar *str1,
+                                        const xsltLocaleChar *str2);
+XSLTPUBFUN void XSLTCALL
+       xsltFreeLocales                 (void);
 
 #endif /* __XML_XSLTLOCALE_H__ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]