From e94e4a92f4a6867915a4c423881bd379f0c1191e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 11 May 2016 07:41:44 +0200 Subject: doc: add arvg[2] in example of function string_split_command (plugin API reference) --- doc/en/weechat_plugin_api.en.asciidoc | 1 + doc/fr/weechat_plugin_api.fr.asciidoc | 1 + doc/it/weechat_plugin_api.it.asciidoc | 1 + doc/ja/weechat_plugin_api.ja.asciidoc | 1 + 4 files changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/en/weechat_plugin_api.en.asciidoc b/doc/en/weechat_plugin_api.en.asciidoc index 80444f1e5..3ab97e79a 100644 --- a/doc/en/weechat_plugin_api.en.asciidoc +++ b/doc/en/weechat_plugin_api.en.asciidoc @@ -1626,6 +1626,7 @@ C example: char **argv = weechat_string_split_command ("/command1 arg;/command2", ';'); /* result: argv[0] == "/command1 arg" argv[1] == "/command2" + argv[2] == NULL */ weechat_free_split_command (argv); ---- diff --git a/doc/fr/weechat_plugin_api.fr.asciidoc b/doc/fr/weechat_plugin_api.fr.asciidoc index 4f7cd595d..24ed710af 100644 --- a/doc/fr/weechat_plugin_api.fr.asciidoc +++ b/doc/fr/weechat_plugin_api.fr.asciidoc @@ -1658,6 +1658,7 @@ Exemple en C : char **argv = weechat_string_split_command ("/commande1 arg;/commande2", ';'); /* résultat : argv[0] == "/commande1 arg" argv[1] == "/commande2" + argv[2] == NULL */ weechat_free_split_command (argv); ---- diff --git a/doc/it/weechat_plugin_api.it.asciidoc b/doc/it/weechat_plugin_api.it.asciidoc index 6b092aad3..820768a54 100644 --- a/doc/it/weechat_plugin_api.it.asciidoc +++ b/doc/it/weechat_plugin_api.it.asciidoc @@ -1692,6 +1692,7 @@ Esempio in C: char **argv = weechat_string_split_command ("/command1 arg;/command2", ';'); /* result: argv[0] == "/command1 arg" argv[1] == "/command2" + argv[2] == NULL */ weechat_free_split_command (argv); ---- diff --git a/doc/ja/weechat_plugin_api.ja.asciidoc b/doc/ja/weechat_plugin_api.ja.asciidoc index 1c922bc78..fb92774ba 100644 --- a/doc/ja/weechat_plugin_api.ja.asciidoc +++ b/doc/ja/weechat_plugin_api.ja.asciidoc @@ -1628,6 +1628,7 @@ C 言語での使用例: char **argv = weechat_string_split_command ("/command1 arg;/command2", ';'); /* result: argv[0] == "/command1 arg" argv[1] == "/command2" + argv[2] == NULL */ weechat_free_split_command (argv); ---- -- cgit v1.2.3