Mercurial > hg > octave-lojdl > gnulib-hg
changeset 14371:622ac4e73609
unictype/property-byname: Reduce the size of the 'data' segment.
* lib/unictype/pr_byname.gperf: Add gperf option '%pic'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 19 Feb 2011 17:12:43 +0100 |
parents | 44f711d7d71f |
children | b894b1646164 |
files | ChangeLog lib/unictype/pr_byname.gperf |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-02-19 Bruno Haible <bruno@clisp.org> + + unictype/property-byname: Reduce the size of the 'data' segment. + * lib/unictype/pr_byname.gperf: Add gperf option '%pic'. + 2011-02-19 Bruno Haible <bruno@clisp.org> unictype/scripts: Reduce the size of the 'data' segment.
--- a/lib/unictype/pr_byname.gperf +++ b/lib/unictype/pr_byname.gperf @@ -1,4 +1,4 @@ -struct named_property { const char *name; uc_property_t property; }; +struct named_property { int name; uc_property_t property; }; %struct-type %language=ANSI-C %define hash-function-name properties_hash @@ -7,6 +7,8 @@ %readonly-tables %global-table %define word-array-name properties +%pic +%define string-pool-name properties_stringpool %% white_space, { &uc_is_property_white_space } alphabetic, { &uc_is_property_alphabetic }