Add is_utf8_char_buf()
authorKarl Williamson <public@khwilliamson.com>
Sat, 11 Feb 2012 21:04:39 +0000 (14:04 -0700)
committerKarl Williamson <public@khwilliamson.com>
Sat, 11 Feb 2012 21:35:46 +0000 (14:35 -0700)
commit492a624f4a0c250e011c6b74a3403bfc885ec961
tree8961dec5b0e8d1fc0a90c8696bc15f40e8e3616e
parentb9411ff2d79526114566a6486a0c0238691cec2d
Add is_utf8_char_buf()

This function is to replace is_utf8_char(), and requires an extra
parameter to ensure that it doesn't read beyond the end of the buffer.

Convert is_utf8_char() and the only place in the Perl core to use the
new one, assuming in each that there is enough space.

Thanks to Jarkko Hietaniemi for suggesting this function name
embed.fnc
embed.h
proto.h
utf8.c