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:
@@ -17679,7 +17679,7 @@ Arguments:
|
||||
|
||||
Return value:
|
||||
|
||||
* variable offset, 0 if an error occurred
|
||||
* variable offset, -1 if an error occurred
|
||||
|
||||
C example:
|
||||
|
||||
|
||||
@@ -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 :
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -17868,7 +17868,7 @@ int weechat_hdata_get_var_offset (struct t_hdata *hdata, const char *name);
|
||||
|
||||
戻り値:
|
||||
|
||||
* オフセットの値、エラーが起きた場合は 0
|
||||
* オフセットの値、エラーが起きた場合は -1
|
||||
|
||||
C 言語での使用例:
|
||||
|
||||
|
||||
@@ -17138,7 +17138,7 @@ int weechat_hdata_get_var_offset (struct t_hdata *hdata, const char *name);
|
||||
|
||||
Повратна вредност:
|
||||
|
||||
* померај променљиве, 0 у случају да је дошло до грешке
|
||||
* померај променљиве, -1 у случају да је дошло до грешке
|
||||
|
||||
C пример:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user