]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/sprpimpl.h
ICU-400.42.tar.gz
[apple/icu.git] / icuSources / common / sprpimpl.h
index 50d7c350e43fa78df47f886307dbd24f5ddbdfa1..1422cc3acd522a9ddedb42585061159bd5b8becd 100644 (file)
@@ -1,7 +1,7 @@
 /*
  *******************************************************************************
  *
- *   Copyright (C) 2003-2004, International Business Machines
+ *   Copyright (C) 2003-2006, International Business Machines
  *   Corporation and others.  All Rights Reserved.
  *
  *******************************************************************************
@@ -27,6 +27,7 @@
 #include "unicode/udata.h"
 #include "utrie.h"
 #include "udataswp.h"
+#include "ubidi_props.h"
 
 #define _SPREP_DATA_TYPE "spp"
 
@@ -87,8 +88,9 @@ struct UStringPrepProfile{
     UTrie sprepTrie;
     const uint16_t* mappingData;
     UDataMemory* sprepData;
-    UBool isDataLoaded;
+    const UBiDiProps *bdp; /* used only if checkBiDi is set */
     int32_t refCount;
+    UBool isDataLoaded;
     UBool doNFKC;
     UBool checkBiDi;
 };