summaryrefslogtreecommitdiff
path: root/lib/uninorm.h
diff options
context:
space:
mode:
authorManuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>2016-05-27 14:35:40 +0100
committerManuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>2016-05-27 14:35:40 +0100
commitb1de003dac299705a7f01c997d2b866bafe39926 (patch)
tree1cc16a3877e945116387a380f7f3023f81fa36e4 /lib/uninorm.h
parent752fd7247bc223bcea35bd89cf56d1c08ead9ba6 (diff)
parent3590c846d4c2febbc05b4ad6b14a06edc549e453 (diff)
Merge tag 'upstream/0.9.6+really0.9.6'
Upstream version 0.9.6+really0.9.6
Diffstat (limited to 'lib/uninorm.h')
-rw-r--r--lib/uninorm.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/uninorm.h b/lib/uninorm.h
index 5fdcc22..8c3f262 100644
--- a/lib/uninorm.h
+++ b/lib/uninorm.h
@@ -1,5 +1,6 @@
+/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Normalization forms (composition and decomposition) of Unicode strings.
- Copyright (C) 2001-2002, 2009-2010 Free Software Foundation, Inc.
+ Copyright (C) 2001-2002, 2009-2015 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2009.
This program is free software: you can redistribute it and/or modify it
@@ -102,7 +103,8 @@ extern int
Not all decompositions can be recombined using this function. See the
Unicode file CompositionExclusions.txt for details. */
extern ucs4_t
- uc_composition (ucs4_t uc1, ucs4_t uc2);
+ uc_composition (ucs4_t uc1, ucs4_t uc2)
+ _UC_ATTRIBUTE_CONST;
/* An object of type uninorm_t denotes a Unicode normalization form. */
@@ -137,7 +139,9 @@ extern LIBUNISTRING_DLL_VARIABLE const struct unicode_normalization_form uninorm
/* Return the decomposing variant of a normalization form.
This maps NFC,NFD -> NFD and NFKC,NFKD -> NFKD. */
-extern uninorm_t uninorm_decomposing_form (uninorm_t nf);
+extern uninorm_t
+ uninorm_decomposing_form (uninorm_t nf)
+ _UC_ATTRIBUTE_PURE;
/* Return the specified normalization form of a string. */