diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-05 01:06:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-05 01:06:49 +0000 |
commit | 4614a125cca9aa314ecccb34589b69aa762721d6 (patch) | |
tree | a254794a8cd36c4f85f6aca7a555455cecc85203 /unicode.c | |
parent | e54f12b8d237fd6706b48af8b3f99a17ccfb1481 (diff) | |
download | ruby-4614a125cca9aa314ecccb34589b69aa762721d6.tar.gz ruby-4614a125cca9aa314ecccb34589b69aa762721d6.tar.xz ruby-4614a125cca9aa314ecccb34589b69aa762721d6.zip |
* include/ruby/st.h, st.c (st_init_table, st_init_table_with_size):
constified.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'unicode.c')
-rw-r--r-- | unicode.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10861,7 +10861,7 @@ code2_hash(OnigCodePoint* x) return (int )(x[0] + x[1]); } -static struct st_hash_type type_code2_hash = { +static const struct st_hash_type type_code2_hash = { code2_cmp, code2_hash, }; @@ -10879,7 +10879,7 @@ code3_hash(OnigCodePoint* x) return (int )(x[0] + x[1] + x[2]); } -static struct st_hash_type type_code3_hash = { +static const struct st_hash_type type_code3_hash = { code3_cmp, code3_hash, }; |