1 #ifndef YACASL2_CERR_H_INCLUDED
2 #define YACASL2_CERR_H_INCLUDED
15 char *msg; /* エラーメッセージ */
22 typedef struct _CERRLIST {
23 struct _CERRLIST *next;
27 extern CERRLIST *cerrlist;
30 CERRSTRSIZE = 10, /* エラーメッセージ中に挿入できる文字列のサイズ */
31 CERRMSGSIZE = 70, /* エラーメッセージのサイズ */
38 bool addcerrlist(int cerrc, CERR cerrv[]);
40 /* エラー番号とエラーメッセージを設定 */
41 void setcerr(int num, const char *str);
44 char *getcerrmsg(int num);