exported hcl_conv_ucs_to_bcs_with_cmgr() and similar functions

enhanced the sample server program
This commit is contained in:
2018-03-12 16:45:42 +00:00
parent d51ad1cd6a
commit 3ba32a615d
6 changed files with 598 additions and 529 deletions

View File

@ -2001,7 +2001,7 @@ HCL_EXPORT int hcl_convbtoucstr (
* The hcl_convutobcstr() function converts a null-terminated wide string
* to a byte string.
*/
int hcl_convutobcstr (
HCL_EXPORT int hcl_convutobcstr (
hcl_t* hcl,
const hcl_uch_t* ucs,
hcl_oow_t* ucslen,
@ -2009,7 +2009,6 @@ int hcl_convutobcstr (
hcl_oow_t* bcslen
);
#if defined(HCL_OOCH_IS_UCH)
# define hcl_dupootobcharswithheadroom(hcl,hrb,oocs,oocslen,bcslen) hcl_duputobcharswithheadroom(hcl,hrb,oocs,oocslen,bcslen)
# define hcl_dupbtooocharswithheadroom(hcl,hrb,bcs,bcslen,oocslen) hcl_dupbtoucharswithheadroom(hcl,hrb,bcs,bcslen,oocslen)