From f8915129bf2656623168c9f17846ac29759c13ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 14 Jan 2022 21:41:25 +0100 Subject: core: rename argument "length" to "bytes" in function string_strndup --- doc/ja/weechat_plugin_api.ja.adoc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doc/ja') diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index 90eac1c0d..ba18830a6 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -556,19 +556,21 @@ str = weechat.ngettext("file", "files", num_files) ==== strndup -複製した文字列を最大で _length_ 文字分返す。 +// TRANSLATION MISSING +Return duplicated string, with a max number of bytes. プロトタイプ: [source,c] ---- -char *weechat_strndup (const char *string, int length); +char *weechat_strndup (const char *string, int bytes); ---- 引数: * _string_: 複製元の文字列 -* _length_: 複製する文字列の最大文字数 +// TRANSLATION MISSING +* _bytes_: max bytes to duplicate 戻り値: -- cgit v1.2.3