Add the ability to pass a NULL output buffer and/or an unlimited
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 5 Aug 2007 12:50:57 +0000 (12:50 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 5 Aug 2007 12:50:57 +0000 (12:50 +0000)
commit49152469924ab8bc1bb6cad6152297fc85e95be1
tree91af265e5c54e98626fbf2f061415c6981464184
parent8acdc8cb5ceb469a965261fd440326bd93257503
Add the ability to pass a NULL output buffer and/or an unlimited
output length to charset_{to,from}_unicode, permitting convenient
dry-running of conversions to determine the required output length
and/or test for the presence of difficult characters.

git-svn-id: svn://svn.tartarus.org/sgt/charset@7677 cda61777-01e9-0310-a592-d414129be87e
charset.h
fromucs.c
toucs.c