Make the cache of bidi iterator states dynamically allocated.
authorEli Zaretskii <eliz@gnu.org>
Fri, 14 May 2010 15:19:07 +0000 (18:19 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 14 May 2010 15:19:07 +0000 (18:19 +0300)
commit2fe72643a04d063444b0eba90d77e15fcf6d751f
tree70e1ce6c65c99c314f9647e1eea50548cb80445c
parent4b292a226c730b205b65f774164b21e094c31b3d
Make the cache of bidi iterator states dynamically allocated.

 bidi.c (bidi_cache_shrink): New function.
 (bidi_init_it): Call it.
 (bidi_cache_iterator_state): Enlarge the cache if needed.
src/ChangeLog
src/bidi.c