summaryrefslogtreecommitdiff
path: root/extra/locale/locale_mmap.h
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-12-20 19:26:35 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-12-20 19:26:35 +0000
commitc9d66e44af5c93a1ea5487fd9bff78274be65850 (patch)
tree975bb662b51ac91f8d1434553b936784b175a802 /extra/locale/locale_mmap.h
parentbd6e7b0208c9652717bec30abff2d8dc12eaaca7 (diff)
The big thing is locale dependent collation support.
Also added outdigit support and (legacy) YESSTR/NOSTR support.
Diffstat (limited to 'extra/locale/locale_mmap.h')
-rw-r--r--extra/locale/locale_mmap.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/extra/locale/locale_mmap.h b/extra/locale/locale_mmap.h
index 3db490407..12c4025e1 100644
--- a/extra/locale/locale_mmap.h
+++ b/extra/locale/locale_mmap.h
@@ -45,12 +45,11 @@ typedef struct {
/* width?? */
#endif /* __WCHAR_ENABLED */
+ COMMON_MMAP(ctype);
COMMON_MMAP(numeric);
COMMON_MMAP(monetary);
COMMON_MMAP(time);
-
- /* TODO -- collate*/
-
+ /* collate is different */
COMMON_MMAP(messages);
@@ -58,14 +57,14 @@ typedef struct {
const codeset_8_bit_t codeset_8_bit[NUM_CODESETS];
#endif /* __CTYPE_HAS_8_BIT_LOCALES */
+ COMMON_MMIDX(ctype);
COMMON_MMIDX(numeric);
COMMON_MMIDX(monetary);
COMMON_MMIDX(time);
-
- /* TODO -- collate*/
-
+ /* collate is different */
COMMON_MMIDX(messages);
+ const uint16_t collate_data[__lc_collate_data_LEN];
unsigned char lc_common_item_offsets_LEN[CATEGORIES];
size_t lc_common_tbl_offsets[CATEGORIES * 4];