diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-08-23 23:27:57 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-08-23 23:27:57 +0200 |
commit | cfd221014c1e5337ec14503430c98ca620024f81 (patch) | |
tree | dab43957d533958230c6bf8471c86526825bf47f /doc/ja/weechat_plugin_api.ja.adoc | |
parent | b459dab84bcc2fa30634c083c931797e3ca6f4f6 (diff) | |
download | weechat-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.adoc | 11 |
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)) { /* ... */ } |