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/en/weechat_plugin_api.en.asciidoc | |
parent | 3e0ebc82a96bc3c6a6249a682be3bb18a3e5b249 (diff) | |
download | weechat-b13db0305d8fd3ce88c7dbbe62cb1dc1d3033c65.zip |
api: fix type of value returned by function strcasestr
Diffstat (limited to 'doc/en/weechat_plugin_api.en.asciidoc')
-rw-r--r-- | doc/en/weechat_plugin_api.en.asciidoc | 4 |
1 files changed, 2 insertions, 2 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] |