From 23fd23fd1a189ad13573bd4277def21ead4b91ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 4 Jul 2015 16:23:04 +0200 Subject: api: fix type of value returned by function util_get_time_string --- doc/ja/weechat_plugin_api.ja.asciidoc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'doc/ja') diff --git a/doc/ja/weechat_plugin_api.ja.asciidoc b/doc/ja/weechat_plugin_api.ja.asciidoc index 848cbc26d..869b41351 100644 --- a/doc/ja/weechat_plugin_api.ja.asciidoc +++ b/doc/ja/weechat_plugin_api.ja.asciidoc @@ -2971,21 +2971,29 @@ weechat_util_timeval_add (&tv, 2000000); /* add 2 seconds */ ==== util_get_time_string -_WeeChat バージョン 0.3.2 以上で利用可。_ +// TRANSLATION MISSING +_WeeChat ≥ 0.3.2, updated in 1.3._ -日付や時間を "strftime" で作った文字列で取得。 +// TRANSLATION MISSING +Get date/time as a string built with "strftime" and the format defined in +option 'weechat.look.time_format'. プロトタイプ: [source,C] ---- -char *weechat_util_get_time_string (const time_t *date); +const char *weechat_util_get_time_string (const time_t *date); ---- 引数: * 'date': 日付へのポインタ +戻り値: + +// TRANSLATION MISSING +* pointer to a string with date/time + C 言語での使用例: [source,C] -- cgit v1.2.3