From 517ac6852c48c254e13ce90b15d30cec9f7b9b3c Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 24 Jun 2004 02:42:32 +0000 Subject: [PATCH] (mchar_define_charset, mconv_define_coding): Adjust prototypes. --- src/m17n.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, -- 1.7.10.4