X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=charset%2Fstk-charconv.h;h=1eb368d11cb5490aaeff8e3ff9fb90cf8f02589d;hb=1f05348cde42852d77da3457b96a33dff1600ca4;hp=01a242cdc9887d5510ee47e2f34c15e9660938ef;hpb=11902e0b6fc1d043da0abadcdd928b247b071ccf;p=libucw.git diff --git a/charset/stk-charconv.h b/charset/stk-charconv.h index 01a242cd..1eb368d1 100644 --- a/charset/stk-charconv.h +++ b/charset/stk-charconv.h @@ -1,5 +1,5 @@ /* - * Sherlock Library -- Character Conversion with Allocation on the Stack + * Sherlock Library -- Character Conversion with Allocation on the Stack * * (c) 2006 Pavel Charvat * @@ -21,10 +21,10 @@ #define stk_strconv_to_utf8(s, cs_in) stk_strconv(s, cs_in, CONV_CHARSET_UTF8) #define stk_strconv_from_utf8(s, cs_out) stk_strconv(s, CONV_CHARSET_UTF8, cs_out) - + /* Internals */ -uns stk_strconv_init(struct conv_context *c, byte *s, uns cs_in, uns cs_out); +uns stk_strconv_init(struct conv_context *c, const byte *s, uns cs_in, uns cs_out); uns stk_strconv_step(struct conv_context *c, byte *buf, uns len); #endif