summaryrefslogtreecommitdiff
path: root/lex.c.blt
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-02 22:18:32 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-02 22:18:32 +0000
commitb147b5a3b8f6c5cac5444f6b75152ec8b69af4fb (patch)
tree7c212c45af2a5040572dfe7c089a6489b4b667bd /lex.c.blt
parentca86c3abb867aea615e2d33bcadf4bb9bee8576d (diff)
id_table: const correctness for _size and _memsize
This allows us to swap in rb_id_table_memsize for st_memsize (which takes a "const st_table *") more easily. It also makes sense to do the same for rb_id_table_size, too; as the table cannot be altered when accessing size. * id_table.h (rb_id_table_size): const arg (rb_id_table_memsize): ditto * id_table.c (st_id_table_size): ditto (st_id_table_memsize): ditto (list_id_table_size): ditto (list_id_table_memsize): ditto (hash_id_table_size): ditto (hash_id_table_memsize): ditto (mix_id_table_size): ditto (mix_id_table_memsize): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lex.c.blt')
0 files changed, 0 insertions, 0 deletions