X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=include%2Fcerr.h;h=828d03e848c6664f6505c5f5a5ca950ffca341da;hp=878fd859ddff64eab2e0413e396af008bd2b9d2b;hb=285d44a446b45fa1a5ac66617b6920bc7ba81fa6;hpb=5d1bc67b1389b89b86a98e9832b3600f8ceb26de diff --git a/include/cerr.h b/include/cerr.h index 878fd85..828d03e 100644 --- a/include/cerr.h +++ b/include/cerr.h @@ -1,6 +1,7 @@ #ifndef YACASL2_CERR_H_INCLUDED #define YACASL2_CERR_H_INCLUDED +#include #include #include #include @@ -25,11 +26,12 @@ typedef struct { extern CERRARRAY cerr[]; enum { - MSGSIZE = 60, + CERRSTRSIZE = 10, /* エラーメッセージ中に挿入できる文字列のサイズ */ + CERRMSGSIZE = 70, /* エラーメッセージのサイズ */ }; /* エラー番号とエラーメッセージを設定 */ -void setcerr(int num, const char *val); +void setcerr(int num, const char *str); /* エラー番号からメッセージを返す */ char *getcerrmsg(int num);