diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-08-20 13:35:32 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-08-20 13:35:32 +0200 |
commit | 8c554d88c93a48bec48317b15d1da61fa20d6cbb (patch) | |
tree | 7c00ff991a2a920369f7994dd5f466d06c65efe2 /doc/it/weechat_plugin_api.it.adoc | |
parent | c65137667b0dc8925bc98e4c64cad6bfde62d40a (diff) | |
download | weechat-8c554d88c93a48bec48317b15d1da61fa20d6cbb.zip |
doc: fix name of dynamic string functions (plugin API reference)
Diffstat (limited to 'doc/it/weechat_plugin_api.it.adoc')
-rw-r--r-- | doc/it/weechat_plugin_api.it.adoc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index bcd56b319..aa43d38d9 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -2433,7 +2433,7 @@ Prototipo: [source,C] ---- -char **weechat_dyn_alloc (int size_alloc); +char **weechat_string_dyn_alloc (int size_alloc); ---- Argomenti: @@ -2450,7 +2450,7 @@ Esempio in C: [source,C] ---- -char **string = weechat_dyn_alloc (256); +char **string = weechat_string_dyn_alloc (256); ---- [NOTE] @@ -2471,7 +2471,7 @@ Prototipo: [source,C] ---- -int weechat_dyn_copy (char **string, const char *new_string); +int weechat_string_dyn_copy (char **string, const char *new_string); ---- Argomenti: @@ -2489,8 +2489,8 @@ Esempio in C: [source,C] ---- -char **string = weechat_dyn_alloc (256); -if (weechat_dyn_copy (string, "test")) +char **string = weechat_string_dyn_alloc (256); +if (weechat_string_dyn_copy (string, "test")) { /* OK */ } @@ -2518,7 +2518,7 @@ Prototipo: [source,C] ---- -int weechat_dyn_concat (char **string, const char *add); +int weechat_string_dyn_concat (char **string, const char *add); ---- Argomenti: @@ -2536,10 +2536,10 @@ Esempio in C: [source,C] ---- -char **string = weechat_dyn_alloc (256); -if (weechat_dyn_copy (string, "test")) +char **string = weechat_string_dyn_alloc (256); +if (weechat_string_dyn_copy (string, "test")) { - if (weechat_dyn_concat (string, "abc")) + if (weechat_string_dyn_concat (string, "abc")) { /* ... */ } @@ -2560,7 +2560,7 @@ Prototipo: [source,C] ---- -char *weechat_dyn_free (char **string, int free_string); +char *weechat_string_dyn_free (char **string, int free_string); ---- Argomenti: @@ -2579,8 +2579,8 @@ Esempio in C: [source,C] ---- -char **string = weechat_dyn_alloc (256); -if (weechat_dyn_concat (string, "test")) +char **string = weechat_string_dyn_alloc (256); +if (weechat_string_dyn_concat (string, "test")) { /* OK */ } @@ -2589,7 +2589,7 @@ else /* error */ } /* ... */ -weechat_dyn_free (string, 1); +weechat_string_dyn_free (string, 1); ---- [NOTE] |