1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

doc/api: fix return value in case of error in function hdata_get_var_offset

This commit is contained in:
Sébastien Helleu
2023-07-14 09:53:19 +02:00
parent 8cd13ef580
commit eb71be4219
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -17679,7 +17679,7 @@ Arguments:
Return value:
* variable offset, 0 if an error occurred
* variable offset, -1 if an error occurred
C example:
+1 -1
View File
@@ -18053,7 +18053,7 @@ Paramètres :
Valeur de retour :
* position (offset) de la variable, 0 en cas d'erreur
* position (offset) de la variable, -1 en cas d'erreur
Exemple en C :
+1 -1
View File
@@ -18464,7 +18464,7 @@ Argomenti:
Valore restituito:
* offset della variabile, 0 in caso di errore
* offset della variabile, -1 in caso di errore
Esempio in C:
+1 -1
View File
@@ -17868,7 +17868,7 @@ int weechat_hdata_get_var_offset (struct t_hdata *hdata, const char *name);
戻り値:
* オフセットの値、エラーが起きた場合は 0
* オフセットの値、エラーが起きた場合は -1
C 言語での使用例:
+1 -1
View File
@@ -17138,7 +17138,7 @@ int weechat_hdata_get_var_offset (struct t_hdata *hdata, const char *name);
Повратна вредност:
* померај променљиве, 0 у случају да је дошло до грешке
* померај променљиве, -1 у случају да је дошло до грешке
C пример: