X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=include%2Fcerr.h;h=878fd859ddff64eab2e0413e396af008bd2b9d2b;hp=9c191c11b1d74f25f1200a58987cf90a994311fc;hb=a901ac636091cc9d044a78525064b699ef7a2760;hpb=0e3065564e83037d5fbbb3e0e1595e7ce95ce8eb diff --git a/include/cerr.h b/include/cerr.h index 9c191c1..878fd85 100644 --- a/include/cerr.h +++ b/include/cerr.h @@ -1,7 +1,7 @@ #ifndef YACASL2_CERR_H_INCLUDED #define YACASL2_CERR_H_INCLUDED -#include +#include #include #include @@ -21,6 +21,13 @@ typedef struct { char *msg; } CERRARRAY; +/* エラーメッセージ */ +extern CERRARRAY cerr[]; + +enum { + MSGSIZE = 60, +}; + /* エラー番号とエラーメッセージを設定 */ void setcerr(int num, const char *val);