Mercurial > repos > shellac > guppy_basecaller
comparison env/lib/python3.7/site-packages/lxml/includes/libxslt/xsltlocale.h @ 0:26e78fe6e8c4 draft
"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
| author | shellac |
|---|---|
| date | Sat, 02 May 2020 07:14:21 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:26e78fe6e8c4 |
|---|---|
| 1 /* | |
| 2 * Summary: Locale handling | |
| 3 * Description: Interfaces for locale handling. Needed for language dependent | |
| 4 * sorting. | |
| 5 * | |
| 6 * Copy: See Copyright for the status of this software. | |
| 7 * | |
| 8 * Author: Nick Wellnhofer | |
| 9 */ | |
| 10 | |
| 11 #ifndef __XML_XSLTLOCALE_H__ | |
| 12 #define __XML_XSLTLOCALE_H__ | |
| 13 | |
| 14 #include <libxml/xmlstring.h> | |
| 15 #include "xsltexports.h" | |
| 16 | |
| 17 #ifdef HAVE_STRXFRM_L | |
| 18 | |
| 19 /* | |
| 20 * XSLT_LOCALE_POSIX: | |
| 21 * Macro indicating to use POSIX locale extensions | |
| 22 */ | |
| 23 #define XSLT_LOCALE_POSIX | |
| 24 | |
| 25 #ifdef HAVE_LOCALE_H | |
| 26 #include <locale.h> | |
| 27 #endif | |
| 28 #ifdef HAVE_XLOCALE_H | |
| 29 #include <xlocale.h> | |
| 30 #endif | |
| 31 | |
| 32 typedef locale_t xsltLocale; | |
| 33 typedef xmlChar xsltLocaleChar; | |
| 34 | |
| 35 #elif defined(_WIN32) && !defined(__CYGWIN__) | |
| 36 | |
| 37 /* | |
| 38 * XSLT_LOCALE_WINAPI: | |
| 39 * Macro indicating to use WinAPI for extended locale support | |
| 40 */ | |
| 41 #define XSLT_LOCALE_WINAPI | |
| 42 | |
| 43 #include <windows.h> | |
| 44 #include <winnls.h> | |
| 45 | |
| 46 typedef LCID xsltLocale; | |
| 47 typedef wchar_t xsltLocaleChar; | |
| 48 | |
| 49 #else | |
| 50 | |
| 51 /* | |
| 52 * XSLT_LOCALE_NONE: | |
| 53 * Macro indicating that there's no extended locale support | |
| 54 */ | |
| 55 #define XSLT_LOCALE_NONE | |
| 56 | |
| 57 typedef void *xsltLocale; | |
| 58 typedef xmlChar xsltLocaleChar; | |
| 59 | |
| 60 #endif | |
| 61 | |
| 62 XSLTPUBFUN xsltLocale XSLTCALL | |
| 63 xsltNewLocale (const xmlChar *langName); | |
| 64 XSLTPUBFUN void XSLTCALL | |
| 65 xsltFreeLocale (xsltLocale locale); | |
| 66 XSLTPUBFUN xsltLocaleChar * XSLTCALL | |
| 67 xsltStrxfrm (xsltLocale locale, | |
| 68 const xmlChar *string); | |
| 69 XSLTPUBFUN int XSLTCALL | |
| 70 xsltLocaleStrcmp (xsltLocale locale, | |
| 71 const xsltLocaleChar *str1, | |
| 72 const xsltLocaleChar *str2); | |
| 73 XSLTPUBFUN void XSLTCALL | |
| 74 xsltFreeLocales (void); | |
| 75 | |
| 76 #endif /* __XML_XSLTLOCALE_H__ */ |
