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