Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: third_party/libxslt/libxslt/xsltlocale.h

Issue 2865973002: Check in the libxslt roll script. (Closed)
Patch Set: Consistent quotes. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libxslt/libxslt/xsltexports.h ('k') | third_party/libxslt/libxslt/xsltlocale.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 XSLT_LOCALE_XLOCALE
18
19 #include <locale.h>
20 #include <xlocale.h>
21
22 #ifdef __GLIBC__
23 /*locale_t is defined only if _GNU_SOURCE is defined*/
24 typedef __locale_t xsltLocale;
25 #else
26 typedef locale_t xsltLocale;
27 #endif
28 typedef xmlChar xsltLocaleChar;
29
30 #elif defined(XSLT_LOCALE_WINAPI)
31
32 #include <windows.h>
33 #include <winnls.h>
34
35 typedef LCID xsltLocale;
36 typedef wchar_t xsltLocaleChar;
37
38 #else
39
40 /*
41 * XSLT_LOCALE_NONE:
42 * Macro indicating that locale are not supported
43 */
44 #ifndef XSLT_LOCALE_NONE
45 #define XSLT_LOCALE_NONE
46 #endif
47
48 typedef void *xsltLocale;
49 typedef xmlChar xsltLocaleChar;
50
51 #endif
52
53 XSLTPUBFUN xsltLocale XSLTCALL
54 xsltNewLocale (const xmlChar *langName);
55 XSLTPUBFUN void XSLTCALL
56 xsltFreeLocale (xsltLocale locale);
57 XSLTPUBFUN xsltLocaleChar * XSLTCALL
58 xsltStrxfrm (xsltLocale locale,
59 const xmlChar *string);
60 XSLTPUBFUN int XSLTCALL
61 xsltLocaleStrcmp (xsltLocale locale,
62 const xsltLocaleChar *str1,
63 const xsltLocaleChar *str2);
64 XSLTPUBFUN void XSLTCALL
65 xsltFreeLocales (void);
66
67 #endif /* __XML_XSLTLOCALE_H__ */
OLDNEW
« no previous file with comments | « third_party/libxslt/libxslt/xsltexports.h ('k') | third_party/libxslt/libxslt/xsltlocale.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698