From 5768b2060c0ddb8aa54d694eb7e857c00342e136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 1 Mar 2018 21:57:46 +0100 Subject: doc: add more info about return value of function hdata_move (plugin API reference) --- doc/en/weechat_plugin_api.en.adoc | 3 ++- doc/fr/weechat_plugin_api.fr.adoc | 3 ++- doc/it/weechat_plugin_api.it.adoc | 4 +++- doc/ja/weechat_plugin_api.ja.adoc | 4 +++- 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 言語での使用例: -- cgit v1.2.3