Retrospective commit from 2009-08-22.
authorEli Zaretskii <eliz@gnu.org>
Thu, 31 Dec 2009 20:49:08 +0000 (15:49 -0500)
committerEli Zaretskii <eliz@gnu.org>
Thu, 31 Dec 2009 20:49:08 +0000 (15:49 -0500)
commit2d6e4628e97051ce2aedff5d8b6e14903639d808
tree5dbf853a177f0f11a1e5a4a6d683265a6d77cd32
parentf44e260c0263804c89335f21f2778e36b3af351f
Retrospective commit from 2009-08-22.

Staticpro bidi_char_table, add type checking where bidi type is assigned.

 bidi.c (bidi_initialize): staticpro bidi_char_table.
 (bidi_check_type): New function.
 (bidi_cache_iterator_state, bidi_remember_char)
 (bidi_resolve_explicit_1, bidi_resolve_explicit)
 (bidi_resolve_weak, bidi_resolve_neutral)
 (bidi_level_of_next_char): Use it to validate the bidi type
 assigned to the iterator.
src/ChangeLog.bidi
src/bidi.c