summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-03-01 21:57:46 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-03-01 21:57:46 +0100
commit5768b2060c0ddb8aa54d694eb7e857c00342e136 (patch)
treeffe77f821c0436631241923f240dae9d1666edd9
parentd8b7647275595a8b496c5167323f4b35687064f8 (diff)
downloadweechat-5768b2060c0ddb8aa54d694eb7e857c00342e136.zip
doc: add more info about return value of function hdata_move (plugin API reference)
-rw-r--r--doc/en/weechat_plugin_api.en.adoc3
-rw-r--r--doc/fr/weechat_plugin_api.fr.adoc3
-rw-r--r--doc/it/weechat_plugin_api.it.adoc4
-rw-r--r--doc/ja/weechat_plugin_api.ja.adoc4
4 files changed, 10 insertions, 4 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc
index 4a14ceaa6..642466188 100644
--- a/doc/en/weechat_plugin_api.en.adoc
+++ b/doc/en/weechat_plugin_api.en.adoc
@@ -15690,7 +15690,8 @@ Arguments:
Return value:
-* pointer to element reached, NULL if an error occurred
+* pointer to element reached, NULL if element is not found (for example end
+ of list), or if an error occurred
C example:
diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc
index 4265e1a2d..097be04b5 100644
--- a/doc/fr/weechat_plugin_api.fr.adoc
+++ b/doc/fr/weechat_plugin_api.fr.adoc
@@ -16012,7 +16012,8 @@ Paramètres :
Valeur de retour :
-* pointeur vers l'élément atteint, NULL en cas d'erreur
+* pointeur vers l'élément atteint, NULL si l'élément n'est pas trouvé
+ (par exemple fin de la liste), ou en cas d'erreur
Exemple en C :
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc
index a105cd446..b7ad2fd87 100644
--- a/doc/it/weechat_plugin_api.it.adoc
+++ b/doc/it/weechat_plugin_api.it.adoc
@@ -16293,7 +16293,9 @@ Argomenti:
Valore restituito:
-* puntatore all'elemento raggiunto, NULL in caso di errore
+// TRANSLATION MISSING
+* pointer to element reached, NULL if element is not found (for example end
+ of list), or if an error occurred
Esempio in C:
diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc
index d9ff23a8b..3a1ca4ce6 100644
--- a/doc/ja/weechat_plugin_api.ja.adoc
+++ b/doc/ja/weechat_plugin_api.ja.adoc
@@ -15693,7 +15693,9 @@ void *weechat_hdata_move (struct t_hdata *hdata, void *pointer, int count);
戻り値:
-* 移動先の要素へのポインタ、エラーが起きた場合は NULL
+// TRANSLATION MISSING
+* pointer to element reached, NULL if element is not found (for example end
+ of list), or if an error occurred
C 言語での使用例: