Force scheme_types not to grow after initialization

svn: r12819
This commit is contained in:
Kevin Tew 2008-12-12 19:36:43 +00:00
parent 51eb2a8257
commit 3fc53848ce

View File

@ -51,7 +51,7 @@ static void init_type_arrays()
REGISTER_SO(scheme_type_hash2s);
maxtype = _scheme_last_type_;
allocmax = maxtype + 10;
allocmax = maxtype + 100;
type_names = MALLOC_N(char *, allocmax);
scheme_type_readers = MALLOC_N_ATOMIC(Scheme_Type_Reader, allocmax);