From: handa Date: Thu, 24 Jun 2004 02:42:32 +0000 (+0000) Subject: (mchar_define_charset, mconv_define_coding): Adjust X-Git-Tag: withdl~27 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=517ac6852c48c254e13ce90b15d30cec9f7b9b3c;p=m17n%2Fm17n-lib.git (mchar_define_charset, mconv_define_coding): Adjust prototypes. --- diff --git a/src/m17n.h b/src/m17n.h index 685b2a2..8d70a89 100644 --- a/src/m17n.h +++ b/src/m17n.h @@ -142,7 +142,7 @@ extern MSymbol Msuperset; /* etc. */ extern MSymbol Mcharset; -extern MSymbol mchar_define_charset (char *name, MPlist *plist); +extern MSymbol mchar_define_charset (const char *name, MPlist *plist); extern MSymbol mchar_resolve_charset (MSymbol symbol); @@ -767,9 +767,9 @@ typedef struct } MCodingInfoUTF; /*=*/ -extern MSymbol mconv_define_coding (char *name, MPlist *plist, +extern MSymbol mconv_define_coding (const char *name, MPlist *plist, int (*resetter) (MConverter *), - int (*decoder) (unsigned char *, int, + int (*decoder) (const unsigned char *, int, MText *, MConverter *), int (*encoder) (MText *, int, int, unsigned char *, int,