]> granicus.if.org Git - gc/commit
Add 'const' qualifier for GC_make_descriptor bitmap argument
authorIvan Maidanski <ivmai@mail.ru>
Tue, 10 Jan 2012 10:16:26 +0000 (14:16 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 10 Jan 2012 10:16:26 +0000 (14:16 +0400)
commit416b03bba5ba3b2e90bd234239b9350714fd6de1
tree03c569dd2c8df54c00a1176b7ad4ff84920f2058
parent7f4dc52ad4b713c5bdefbf9d9dae024dcdf20dac
Add 'const' qualifier for GC_make_descriptor bitmap argument

* include/gc_typed.h (GC_make_descriptor): Make bm pointer const
(replace GC_bitmap type with "const GC_word*").
* typd_mlc.c (GC_add_ext_descriptor, GC_make_descriptor): Likewise.
* tests/test.c (bm_huge): Make array const to test updated
GC_make_descriptor declaration.
include/gc_typed.h
tests/test.c
typd_mlc.c