]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/sprpimpl.h
ICU-59117.0.1.tar.gz
[apple/icu.git] / icuSources / common / sprpimpl.h
index 50d7c350e43fa78df47f886307dbd24f5ddbdfa1..12f18a5e91714f7bd4bb2872824fded71eb2e386 100644 (file)
@@ -1,12 +1,14 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /*
  *******************************************************************************
  *
- *   Copyright (C) 2003-2004, International Business Machines
+ *   Copyright (C) 2003-2006, International Business Machines
  *   Corporation and others.  All Rights Reserved.
  *
  *******************************************************************************
  *   file name:  sprpimpl.h
- *   encoding:   US-ASCII
+ *   encoding:   UTF-8
  *   tab size:   8 (not used)
  *   indentation:4
  *
@@ -27,6 +29,7 @@
 #include "unicode/udata.h"
 #include "utrie.h"
 #include "udataswp.h"
+#include "ubidi_props.h"
 
 #define _SPREP_DATA_TYPE "spp"
 
@@ -87,8 +90,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;
 };