3 * Culture-sensitive handling
6 * Dick Porter (dick@ximian.com)
8 * (C) 2003 Ximian, Inc.
11 #ifndef _MONO_METADATA_LOCALES_H_
12 #define _MONO_METADATA_LOCALES_H_
16 #include <mono/metadata/object-internals.h>
17 #include <mono/metadata/icalls.h>
21 /* This is a copy of System.Globalization.CompareOptions */
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
33 typedef struct NumberFormatEntryManaged NumberFormatEntryManaged
;
37 ves_icall_System_Globalization_CultureData_fill_number_data (gint32 number_index
, NumberFormatEntryManaged
*managed
);
40 void ves_icall_System_Globalization_CultureInfo_construct_internal_locale (MonoCultureInfo
*this_obj
, MonoString
*locale
);
43 void ves_icall_System_Globalization_CompareInfo_construct_compareinfo (MonoCompareInfo
*comp
, MonoString
*locale
);
46 ves_icall_System_Globalization_CompareInfo_internal_compare (const gunichar2
*str1
, gint32 len1
,
47 const gunichar2
*str2
, gint32 len2
, gint32 options
);
50 void ves_icall_System_Globalization_CompareInfo_free_internal_collator (MonoCompareInfo
*this_obj
);
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_ */