summaryrefslogtreecommitdiff
path: root/doc/it/weechat_plugin_api.it.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/it/weechat_plugin_api.it.adoc')
-rw-r--r--doc/it/weechat_plugin_api.it.adoc26
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]