[merp] Remove dead code (#20043)
[mono-project.git] / mono / metadata / locales.h
blob8746cf9843302e15f2b014ee114e040bf035bb61
1 /**
2 * \file
3 * Culture-sensitive handling
5 * Authors:
6 * Dick Porter (dick@ximian.com)
8 * (C) 2003 Ximian, Inc.
9 */
11 #ifndef _MONO_METADATA_LOCALES_H_
12 #define _MONO_METADATA_LOCALES_H_
14 #include <glib.h>
16 #include <mono/metadata/object-internals.h>
17 #include <mono/metadata/icalls.h>
19 #if !ENABLE_NETCORE
21 /* This is a copy of System.Globalization.CompareOptions */
22 typedef enum {
23 CompareOptions_None=0x00,
24 CompareOptions_IgnoreCase=0x01,
25 CompareOptions_IgnoreNonSpace=0x02,
26 CompareOptions_IgnoreSymbols=0x04,
27 CompareOptions_IgnoreKanaType=0x08,
28 CompareOptions_IgnoreWidth=0x10,
29 CompareOptions_StringSort=0x20000000,
30 CompareOptions_Ordinal=0x40000000
31 } MonoCompareOptions;
33 typedef struct NumberFormatEntryManaged NumberFormatEntryManaged;
35 ICALL_EXPORT
36 gconstpointer
37 ves_icall_System_Globalization_CultureData_fill_number_data (gint32 number_index, NumberFormatEntryManaged *managed);
39 ICALL_EXPORT
40 void ves_icall_System_Globalization_CultureInfo_construct_internal_locale (MonoCultureInfo *this_obj, MonoString *locale);
42 ICALL_EXPORT
43 void ves_icall_System_Globalization_CompareInfo_construct_compareinfo (MonoCompareInfo *comp, MonoString *locale);
45 ICALL_EXPORT gint32
46 ves_icall_System_Globalization_CompareInfo_internal_compare (const gunichar2 *str1, gint32 len1,
47 const gunichar2 *str2, gint32 len2, gint32 options);
49 ICALL_EXPORT
50 void ves_icall_System_Globalization_CompareInfo_free_internal_collator (MonoCompareInfo *this_obj);
52 ICALL_EXPORT gint32
53 ves_icall_System_Globalization_CompareInfo_internal_index (const gunichar2 *source, gint32 sindex,
54 gint32 count, const gunichar2 *value, gint32 value_length, MonoBoolean first);
56 #endif /* !ENABLE_NETCORE */
58 #define MONO_LOCALE_INVARIANT (0x007F)
60 #endif /* _MONO_METADATA_FILEIO_H_ */