(CHAR_STRING_ADVANCE_NO_UNIFY)
authorKenichi Handa <handa@m17n.org>
Sun, 16 Mar 2008 01:24:55 +0000 (01:24 +0000)
committerKenichi Handa <handa@m17n.org>
Sun, 16 Mar 2008 01:24:55 +0000 (01:24 +0000)
commitdb274c7a061fd40e54fdd3b4a590959bda03c48e
tree439e71eda5dc606a0bf9a3cc54c4756f003df6da
parentb2fba0132f2714bbcf13984833aad43f24035b85
(CHAR_STRING_ADVANCE_NO_UNIFY)
(STRING_CHAR_ADVANCE_NO_UNIFY): New macros.
(coding_alloc_by_making_gap): Fix the way to preserve data in the
gap.
(alloc_destination): Fix the 2nd arg to
coding_alloc_by_making_gap.
(encode_coding_utf_8): Use CHAR_STRING_ADVANCE_NO_UNIFY instead of
CHAR_STRING_ADVANCE.
(produce_chars): Fix for the case that the source and the
destination are the same buffer.  Use CHAR_STRING_ADVANCE_NO_UNIFY
instead of CHAR_STRING_ADVANCE.
(consume_chars): Use STRING_CHAR_ADVANCE_NO_UNIFY instead of
STRING_CHAR_ADVANCE.
src/coding.c