From: handa Date: Thu, 24 Jun 2004 02:41:02 +0000 (+0000) Subject: (mtext__from_data): Ajust prototype. X-Git-Tag: withdl~29 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=ff0a8de436085d17048ac2968c52e211d6a0dd6b;p=m17n%2Fm17n-lib.git (mtext__from_data): Ajust prototype. --- diff --git a/src/mtext.h b/src/mtext.h index 0a4bf70..78cbeb0 100644 --- a/src/mtext.h +++ b/src/mtext.h @@ -55,7 +55,7 @@ extern int mtext__cat_data (MText *mt, unsigned char *p, int nbytes, mtext__cat_data ((mt), (unsigned char *) (str), strlen (str), \ MTEXT_FORMAT_US_ASCII) -extern MText *mtext__from_data (void *data, int nitems, +extern MText *mtext__from_data (const void *data, int nitems, enum MTextFormat format, int need_copy); extern void mtext__adjust_format (MText *mt, enum MTextFormat format);