diff options
author | Andrew Potter <agpotter@gmail.com> | 2019-08-10 12:55:43 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-08-10 12:55:43 +0200 |
commit | 0957231d300b3fa232fc00c691f2c218822ab081 (patch) | |
tree | acf1384b30a335d6f70575cb6bd5c8b3b893cc84 /doc/ja | |
parent | 464d31155a6fcb7e205f623db4f9ad04154b4f64 (diff) | |
download | weechat-0957231d300b3fa232fc00c691f2c218822ab081.zip |
api: add function list_user_data (issue #666)
Diffstat (limited to 'doc/ja')
-rw-r--r-- | doc/ja/weechat_plugin_api.ja.adoc | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index 3c9f3e6a3..b3a7658d5 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -4081,6 +4081,40 @@ value = weechat.list_string(item) weechat.prnt("", "value of item: %s" % weechat.list_string(item)) ---- +==== list_user_data + +_WeeChat バージョン 2.6 以上で利用可_ + +// TRANSLATION MISSING +Return pointer to the user data of an item. + +プロトタイプ: + +[source,C] +---- +void *weechat_list_user_data (struct t_weelist_item *item); +---- + +引数: + +* _item_: 要素へのポインタ + +戻り値: + +// TRANSLATION MISSING +* pointer to the user data of item + +C 言語での使用例: + +// TRANSLATION MISSING +[source,C] +---- +weechat_printf (NULL, "user data of item: 0x%lx", weechat_list_user_data (item)); +---- + +[NOTE] +スクリプト API ではこの関数を利用できません。 + ==== list_size リストのサイズ (要素の個数) を返す。 |