ICU-5117 Allow the swapping code to swap the new trie dictionary format.

X-SVN-Rev: 19437
This commit is contained in:
George Rhoten 2006-03-25 00:45:58 +00:00
parent 32416a8a9c
commit 4fb57830c8

View File

@ -1,7 +1,7 @@
/* /*
******************************************************************************* *******************************************************************************
* *
* Copyright (C) 2005, International Business Machines * Copyright (C) 2005-2006, International Business Machines
* Corporation and others. All Rights Reserved. * Corporation and others. All Rights Reserved.
* *
******************************************************************************* *******************************************************************************
@ -47,6 +47,7 @@
#include "sprpimpl.h" #include "sprpimpl.h"
#include "propname.h" #include "propname.h"
#include "rbbidata.h" #include "rbbidata.h"
#include "triedict.h"
/* swapping implementations in i18n */ /* swapping implementations in i18n */
@ -552,6 +553,7 @@ static const struct {
#endif #endif
#if !UCONFIG_NO_BREAK_ITERATION #if !UCONFIG_NO_BREAK_ITERATION
{ { 0x42, 0x72, 0x6b, 0x20 }, ubrk_swap }, /* dataFormat="Brk " */ { { 0x42, 0x72, 0x6b, 0x20 }, ubrk_swap }, /* dataFormat="Brk " */
{ { 0x54, 0x72, 0x44, 0x63 }, triedict_swap }, /* dataFormat="TrDc " */
#endif #endif
{ { 0x70, 0x6e, 0x61, 0x6d }, upname_swap }, /* dataFormat="pnam" */ { { 0x70, 0x6e, 0x61, 0x6d }, upname_swap }, /* dataFormat="pnam" */
{ { 0x75, 0x6e, 0x61, 0x6d }, uchar_swapNames } /* dataFormat="unam" */ { { 0x75, 0x6e, 0x61, 0x6d }, uchar_swapNames } /* dataFormat="unam" */