diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-07-11 21:12:33 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-07-11 21:12:33 +0200 |
commit | f6bc6fec2e2a5640042c36d7d650ccca429f9e74 (patch) | |
tree | fae66b4c3c7f3923ebd1d1d508daf520df60fe29 /doc/ja/weechat_plugin_api.ja.adoc | |
parent | c463b84421cc2f82a71a38660f77ffdc36b173d5 (diff) | |
download | weechat-f6bc6fec2e2a5640042c36d7d650ccca429f9e74.zip |
doc: add function "register" in the plugin API reference
Diffstat (limited to 'doc/ja/weechat_plugin_api.ja.adoc')
-rw-r--r-- | doc/ja/weechat_plugin_api.ja.adoc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index a41afe010..3c9f3e6a3 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -281,6 +281,30 @@ weechat_plugin_end (struct t_weechat_plugin *plugin) * C 言語での使用例、 * Python スクリプトでの使用例 (他のスクリプト言語を使う場合も文法は似ています)。 +// TRANSLATION MISSING +[[registering]] +=== Registering + +Functions to register a script: used only by scripting API, not the C API. + +==== register + +Register the script. + +For more information, see the +link:weechat_scripting.ja.html#register_function[WeeChat scripting guide]. + +スクリプト (Python) での使用例: + +[source,python] +---- +# プロトタイプ +weechat.register(name, author, version, license, description, shutdown_function, charset) +---- + +[NOTE] +This function is not available in the C API. + [[plugins]] === プラグイン |