From 8c554d88c93a48bec48317b15d1da61fa20d6cbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 20 Aug 2017 13:35:32 +0200 Subject: doc: fix name of dynamic string functions (plugin API reference) --- doc/it/weechat_plugin_api.it.adoc | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'doc/it/weechat_plugin_api.it.adoc') 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] -- cgit v1.2.3