From e2c3c31baf1c01fc8a2d79ff263c4e214ff4656a Mon Sep 17 00:00:00 2001 From: j8takagi Date: Tue, 9 Jun 2026 22:44:46 +0900 Subject: [PATCH] =?utf8?q?=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88=E3=81=AE?= =?utf8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- include/exec.h | 8 ++++---- include/struct.h | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/VERSION b/VERSION index 5635303..5a4ee0c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.5p49 +v0.5p50 diff --git a/include/exec.h b/include/exec.h index 855efee..97f8657 100644 --- a/include/exec.h +++ b/include/exec.h @@ -15,11 +15,11 @@ enum { }; /** - * @brief クロック周波数を表す文字列を正しいかチェックし、正の整数値に変換 - * - * @return クロック周波数を表す正の整数値 + * @brief クロック周波数を表す数値文字列を、正の整数値であるCLOCK型の数値に変換。変換できない場合は、エラーを表示して0を返す * - * @param str クロック周波数を表す文字列 + * @return クロック周波数を表すCLOCK型の正の整数値。エラー時は0 + * + * @param str クロック周波数を表す数値文字列 */ CLOCK clock_str2clock(const char *str); diff --git a/include/struct.h b/include/struct.h index 0fed020..e57a5a2 100644 --- a/include/struct.h +++ b/include/struct.h @@ -166,11 +166,11 @@ extern EXECMODE execmode; char *grstr(WORD word); /** - * @brief メモリーサイズとして受け取った文字列をに変換。1から65536までの範囲の整数に変換できない場合はエラー + * @brief メモリーサイズを表す数値文字列をWORD値に変換して返す。WORD値に変換できない場合は、エラーを表示して0を返す * - * @return メモリーサイズの数値。1から65536までの範囲の整数 + * @return メモリーサイズのWORD値である、1から65536までの範囲の整数。エラー時は0 * - * @param str メモリーサイズ文字列 + * @param str メモリーサイズを表す数値文字列 */ WORD memsize_str2word(const char *str); -- 2.47.3