diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2015-07-03 19:45:51 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2015-07-03 19:45:51 +0200 |
commit | b13db0305d8fd3ce88c7dbbe62cb1dc1d3033c65 (patch) | |
tree | 2a643bd5b5ab8055385ea525725a65042802dce9 /doc | |
parent | 3e0ebc82a96bc3c6a6249a682be3bb18a3e5b249 (diff) | |
download | weechat-b13db0305d8fd3ce88c7dbbe62cb1dc1d3033c65.zip |
api: fix type of value returned by function strcasestr
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en/weechat_plugin_api.en.asciidoc | 4 | ||||
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.asciidoc | 4 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.asciidoc | 4 | ||||
-rw-r--r-- | doc/ja/weechat_plugin_api.ja.asciidoc | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/doc/en/weechat_plugin_api.en.asciidoc b/doc/en/weechat_plugin_api.en.asciidoc index 369d62782..4c70662a9 100644 --- a/doc/en/weechat_plugin_api.en.asciidoc +++ b/doc/en/weechat_plugin_api.en.asciidoc @@ -763,7 +763,7 @@ Prototype: [source,C] ---- -char *weechat_strcasestr (const char *string, const char *search); +const char *weechat_strcasestr (const char *string, const char *search); ---- Arguments: @@ -779,7 +779,7 @@ C example: [source,C] ---- -char *pos = weechat_strcasestr ("aBcDeF", "de"); /* result: pointer to "DeF" */ +const char *pos = weechat_strcasestr ("aBcDeF", "de"); /* result: pointer to "DeF" */ ---- [NOTE] diff --git a/doc/fr/weechat_plugin_api.fr.asciidoc b/doc/fr/weechat_plugin_api.fr.asciidoc index 8baf089d8..3b0aeb5ba 100644 --- a/doc/fr/weechat_plugin_api.fr.asciidoc +++ b/doc/fr/weechat_plugin_api.fr.asciidoc @@ -772,7 +772,7 @@ Prototype : [source,C] ---- -char *weechat_strcasestr (const char *string, const char *search); +const char *weechat_strcasestr (const char *string, const char *search); ---- Paramètres : @@ -788,7 +788,7 @@ Exemple en C : [source,C] ---- -char *pos = weechat_strcasestr ("aBcDeF", "de"); /* résultat : pointeur vers "DeF" */ +const char *pos = weechat_strcasestr ("aBcDeF", "de"); /* résultat : pointeur vers "DeF" */ ---- [NOTE] diff --git a/doc/it/weechat_plugin_api.it.asciidoc b/doc/it/weechat_plugin_api.it.asciidoc index 9f148893f..a12515ec0 100644 --- a/doc/it/weechat_plugin_api.it.asciidoc +++ b/doc/it/weechat_plugin_api.it.asciidoc @@ -795,7 +795,7 @@ Prototipo: [source,C] ---- -char *weechat_strcasestr (const char *string, const char *search); +const char *weechat_strcasestr (const char *string, const char *search); ---- Argomenti: @@ -811,7 +811,7 @@ Esempio in C: [source,C] ---- -char *pos = weechat_strcasestr ("aBcDeF", "de"); /* risultato: puntatore a "DeF" */ +const char *pos = weechat_strcasestr ("aBcDeF", "de"); /* risultato: puntatore a "DeF" */ ---- [NOTE] diff --git a/doc/ja/weechat_plugin_api.ja.asciidoc b/doc/ja/weechat_plugin_api.ja.asciidoc index 66035ba09..cbd7e72fb 100644 --- a/doc/ja/weechat_plugin_api.ja.asciidoc +++ b/doc/ja/weechat_plugin_api.ja.asciidoc @@ -767,7 +767,7 @@ int diff = weechat_strcmp_ignore_chars ("a-b", "--a-e", "-", 1); /* == -3 */ [source,C] ---- -char *weechat_strcasestr (const char *string, const char *search); +const char *weechat_strcasestr (const char *string, const char *search); ---- 引数: @@ -783,7 +783,7 @@ C 言語での使用例: [source,C] ---- -char *pos = weechat_strcasestr ("aBcDeF", "de"); /* result: pointer to "DeF" */ +const char *pos = weechat_strcasestr ("aBcDeF", "de"); /* result: pointer to "DeF" */ ---- [NOTE] |