X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fcerr.h;h=a67b65def6af9aebb71928700476e970f676135e;hb=b7b124bade56862ddc6e61bae0a16051f46c7f36;hp=1433f9034f0886987796482769ab383e044ef861;hpb=7f7bde5dd1305cfc598fe09030c69aad0dc01368;p=YACASL2.git diff --git a/include/cerr.h b/include/cerr.h index 1433f90..a67b65d 100644 --- a/include/cerr.h +++ b/include/cerr.h @@ -7,7 +7,7 @@ /** * エラーの構造体 */ -typedef struct { +typedef struct _CERR { int num; /**<エラー番号 */ char *msg; /**<エラーメッセージ */ } CERR; @@ -45,6 +45,11 @@ void cerr_init(); */ bool addcerrlist(int cerrc, CERR cerrv[]); +/** + * エラーリストを表示する + */ +void printcerrlist(); + /** * 現在のエラーを設定する */