summaryrefslogtreecommitdiff
path: root/doc/ja/weechat_plugin_api.ja.adoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-08-23 23:27:57 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-08-23 23:27:57 +0200
commitcfd221014c1e5337ec14503430c98ca620024f81 (patch)
treedab43957d533958230c6bf8471c86526825bf47f /doc/ja/weechat_plugin_api.ja.adoc
parentb459dab84bcc2fa30634c083c931797e3ca6f4f6 (diff)
downloadweechat-cfd221014c1e5337ec14503430c98ca620024f81.zip
api: add argument "bytes" in function string_dyn_concat
Diffstat (limited to 'doc/ja/weechat_plugin_api.ja.adoc')
-rw-r--r--doc/ja/weechat_plugin_api.ja.adoc11
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc
index fdd40dea5..0ce3866f4 100644
--- a/doc/ja/weechat_plugin_api.ja.adoc
+++ b/doc/ja/weechat_plugin_api.ja.adoc
@@ -2848,7 +2848,8 @@ else
==== string_dyn_concat
-_WeeChat バージョン 1.8 以上で利用可_
+// TRANSLATION MISSING
+_WeeChat バージョン 1.8 以上で利用可, updated in 3.0_
動的文字列に文字列を連結します。
@@ -2859,13 +2860,17 @@ _WeeChat バージョン 1.8 以上で利用可_
[source,C]
----
-int weechat_string_dyn_concat (char **string, const char *add);
+int weechat_string_dyn_concat (char **string, const char *add, int bytes);
----
引数:
* _string_: 動的文字列へのポインタ
* _add_: 連結する文字列
+// TRANSLATION MISSING
+* _bytes_: max number of bytes in _add_ to concatenate, must be lower or equal
+ to length of _add_ (-1 = automatic: concatenate whole string _add_)
+ _(WeeChat ≥ 3.0)_
戻り値:
@@ -2878,7 +2883,7 @@ C 言語での使用例:
char **string = weechat_string_dyn_alloc (256);
if (weechat_string_dyn_copy (string, "test"))
{
- if (weechat_string_dyn_concat (string, "abc"))
+ if (weechat_string_dyn_concat (string, "abc", -1))
{
/* ... */
}