1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36:38 +02:00

doc: fix C example of weechat_charset_set and weechat_iconv_to_internal (plugin API reference)

This commit is contained in:
stfn
2012-08-02 22:41:38 +02:00
committed by Sebastien Helleu
parent 57eb513547
commit 04520c81d6
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -297,7 +297,7 @@ C example:
[source,C]
----------------------------------------
weechat_charset_set (plugin, "iso-8859-1");
weechat_charset_set ("iso-8859-1");
----------------------------------------
Script (Python):
@@ -336,7 +336,7 @@ C example:
[source,C]
----------------------------------------
char *str = weechat_iconv_to_internal (plugin, "iso-8859-1", "iso string: é à");
char *str = weechat_iconv_to_internal ("iso-8859-1", "iso string: é à");
/* ... */
free (str);
----------------------------------------
+2 -2
View File
@@ -304,7 +304,7 @@ Exemple en C :
[source,C]
----------------------------------------
weechat_charset_set (plugin, "iso-8859-1");
weechat_charset_set ("iso-8859-1");
----------------------------------------
Script (Python) :
@@ -343,7 +343,7 @@ Exemple en C :
[source,C]
----------------------------------------
char *str = weechat_iconv_to_internal (plugin, "iso-8859-1", "chaîne iso : é à");
char *str = weechat_iconv_to_internal ("iso-8859-1", "chaîne iso : é à");
/* ... */
free (str);
----------------------------------------
+2 -2
View File
@@ -307,7 +307,7 @@ Esempio in C:
[source,C]
----------------------------------------
weechat_charset_set (plugin, "iso-8859-1");
weechat_charset_set ("iso-8859-1");
----------------------------------------
Script (Python):
@@ -348,7 +348,7 @@ Esempio in C:
[source,C]
----------------------------------------
char *str = weechat_iconv_to_internal (plugin, "iso-8859-1", "iso string: é à");
char *str = weechat_iconv_to_internal ("iso-8859-1", "iso string: é à");
/* ... */
free (str);
----------------------------------------