summaryrefslogtreecommitdiff
path: root/doc/fr
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-07-04 08:39:55 +0200
committerSébastien Helleu <flashcode@flashtux.org>2015-07-04 08:39:55 +0200
commit4ecd8a505f6f47df5c87b673b87eceb1e58c67a7 (patch)
treef2cbfd34a348a6d7af42a6c83a1dc5054197176a /doc/fr
parentbd850398e87d1208921217d0831014994d25d643 (diff)
downloadweechat-4ecd8a505f6f47df5c87b673b87eceb1e58c67a7.zip
api: fix type of value returned by functions utf8_prev_char, utf8_next_char and utf8_add_offset
Diffstat (limited to 'doc/fr')
-rw-r--r--doc/fr/weechat_plugin_api.fr.asciidoc15
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/fr/weechat_plugin_api.fr.asciidoc b/doc/fr/weechat_plugin_api.fr.asciidoc
index 3b0aeb5ba..da9491f5f 100644
--- a/doc/fr/weechat_plugin_api.fr.asciidoc
+++ b/doc/fr/weechat_plugin_api.fr.asciidoc
@@ -2261,7 +2261,8 @@ Prototype :
[source,C]
----
-char *weechat_utf8_prev_char (const char *string_start, const char *string);
+const char *weechat_utf8_prev_char (const char *string_start,
+ const char *string);
----
Paramètres :
@@ -2279,7 +2280,7 @@ Exemple en C :
[source,C]
----
-char *prev_char = weechat_utf8_prev_char (string, ptr_in_string);
+const char *prev_char = weechat_utf8_prev_char (string, ptr_in_string);
----
[NOTE]
@@ -2293,7 +2294,7 @@ Prototype :
[source,C]
----
-char *weechat_utf8_next_char (const char *string);
+const char *weechat_utf8_next_char (const char *string);
----
Paramètres :
@@ -2309,7 +2310,7 @@ Exemple en C :
[source,C]
----
-char *next_char = weechat_utf8_next_char (string);
+const char *next_char = weechat_utf8_next_char (string);
----
[NOTE]
@@ -2569,7 +2570,7 @@ Prototype :
[source,C]
----
-char *weechat_utf8_add_offset (const char *string, int offset);
+const char *weechat_utf8_add_offset (const char *string, int offset);
----
Paramètres :
@@ -2586,8 +2587,8 @@ Exemple en C :
[source,C]
----
-char *str = "chêne";
-char *str2 = weechat_utf8_add_offset (str, 3); /* pointe vers "ne" */
+const char *str = "chêne";
+const char *str2 = weechat_utf8_add_offset (str, 3); /* pointe vers "ne" */
----
[NOTE]