Unicode::UCD::prop_invmap(): New improved API
authorKarl Williamson <public@khwilliamson.com>
Fri, 10 Feb 2012 21:50:18 +0000 (14:50 -0700)
committerKarl Williamson <public@khwilliamson.com>
Fri, 10 Feb 2012 22:54:26 +0000 (15:54 -0700)
commitd11155ec2b4e3f6cf952e2a25615aec506a8e296
treecb8658569c31cbbf223f5cf4f747d9459844d783
parent35a865d48fd5b7517c276e673daf417f657c5c88
Unicode::UCD::prop_invmap(): New improved API

Thanks to Tony Cook for suggesting this.

The API is changed from returning deltas of code points, to storing the
actual correct values, but requiring adjustments for the non-initial
elements in a range, as explained in the pod.

This makes the data less confusing to look at, and gets rid of
inconsistencies if we didn't make the same sort of deltas for entries
that were, e.g. arrays of code points.
lib/Unicode/UCD.pm
lib/Unicode/UCD.t
lib/unicore/mktables
utf8.c