X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=include%2Fword.h;h=647f8a473afe350bd16d8f0abf86917295888aa1;hp=6d83ef0138a79a757b61375461aaa18055f42bdd;hb=f9ad3a081e1777bb6d892af65d0e4090cb31bbfa;hpb=a901ac636091cc9d044a78525064b699ef7a2760 diff --git a/include/word.h b/include/word.h index 6d83ef0..647f8a4 100644 --- a/include/word.h +++ b/include/word.h @@ -1,34 +1,34 @@ #ifndef YACASL2_WORD_H_INCLUDED #define YACASL2_WORD_H_INCLUDED -#include -#include -#include -#include -#include #include -#include "cerr.h" - /* WORD - 16ビットデータ型 */ typedef unsigned short WORD; -/* 10進数の文字列をWORD値に変換 */ -WORD n2word(const char *str); - -/* 16進数の文字列をWORD値に変換 */ -WORD h2word(const char *str); +/** + * wordのエラーをエラーリストに追加 + */ +void addcerrlist_word(); -/* 10進数または16進数の文字列をWORD値に変換 */ +/** + * 10進数または16進数の文字列をWORD値に変換 + */ WORD nh2word(const char *str); -/* WORD値を10進数の文字列に変換 */ +/** + * WORD値を10進数の文字列に変換 + */ char *word2n(WORD word); -/* WORD値を2進数の文字列に変換 */ +/** + * WORD値を2進数の文字列に変換 + */ char *word2bit(const WORD word); -/* WORD値を解析して表示 */ +/** + * WORD値を解析して表示 + */ void print_dumpword(WORD word, bool logicalmode); #endif