poppler/UnicodeTypeTable.cc |    5 +++--
 poppler/UnicodeTypeTable.h  |    5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

New commits:
commit bd3a71199b06d9fec69ff7d28e9c485628e997c8
Author: Adriaan de Groot <[email protected]>
Date:   Sun Oct 27 20:27:59 2019 +0100

    unicodeNormalizeNFKC: Make in const

diff --git a/poppler/UnicodeTypeTable.cc b/poppler/UnicodeTypeTable.cc
index ccf3d4ef..9e04b6b2 100644
--- a/poppler/UnicodeTypeTable.cc
+++ b/poppler/UnicodeTypeTable.cc
@@ -18,6 +18,7 @@
 // Copyright (C) 2008, 2016 Albert Astals Cid <[email protected]>
 // Copyright (C) 2012 Adrian Johnson <[email protected]>
 // Copyright (C) 2016 Khaled Hosny <[email protected]>
+// Copyright (C) 2019 Adriaan de Groot <[email protected]>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -1134,12 +1135,12 @@ static bool combine(Unicode base, Unicode add, Unicode 
*out) {
 // for each character in the normalized string giving the index in @in of the 
 // corresponding unnormalized character. @indices is not guaranteed monotone or
 // onto.
-Unicode *unicodeNormalizeNFKC(Unicode *in, int len,
+Unicode *unicodeNormalizeNFKC(const Unicode *in, int len,
                              int *out_len, int **indices) {
     return unicodeNormalizeNFKC(in, len, out_len, indices, false);
 }
 
-Unicode *unicodeNormalizeNFKC(Unicode *in, int len,
+Unicode *unicodeNormalizeNFKC(const Unicode *in, int len,
                              int *out_len, int **indices,
                              bool reverseRTL) {
   Unicode *out;
diff --git a/poppler/UnicodeTypeTable.h b/poppler/UnicodeTypeTable.h
index 5468051c..bbfaa287 100644
--- a/poppler/UnicodeTypeTable.h
+++ b/poppler/UnicodeTypeTable.h
@@ -16,6 +16,7 @@
 // Copyright (C) 2006 Ed Catmur <[email protected]>
 // Copyright (C) 2012 Adrian Johnson <[email protected]>
 // Copyright (C) 2016 Khaled Hosny <[email protected]>
+// Copyright (C) 2019 Adriaan de Groot <[email protected]>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -37,10 +38,10 @@ extern bool unicodeIsAlphabeticPresentationForm(Unicode c);
 
 extern Unicode unicodeToUpper(Unicode c);
 
-extern Unicode *unicodeNormalizeNFKC(Unicode *in, int len,
+extern Unicode *unicodeNormalizeNFKC(const Unicode *in, int len,
                                     int *out_len, int **offsets);
 
-extern Unicode *unicodeNormalizeNFKC(Unicode *in, int len,
+extern Unicode *unicodeNormalizeNFKC(const Unicode *in, int len,
                                     int *out_len, int **offsets,
                                     bool reverseRTL);
 
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to