doc: add note about call to "free" on result of info_get (plugin API reference)
parent
5c1dfcbe5b
commit
c05cb595dc
|
@ -15070,6 +15070,7 @@ Arguments:
|
|||
Return value:
|
||||
|
||||
* string with info asked, NULL if an error occurred
|
||||
(must be freed by calling "free" after use)
|
||||
|
||||
[NOTE]
|
||||
With WeeChat ≥ 2.5, the value returned is an allocated string
|
||||
|
|
|
@ -15389,6 +15389,7 @@ Paramètres :
|
|||
Valeur de retour :
|
||||
|
||||
* chaîne avec l'information demandée, NULL en cas d'erreur
|
||||
(doit être supprimée par un appel à "free" après utilisation)
|
||||
|
||||
[NOTE]
|
||||
Avec WeeChat ≥ 2.5, la valeur retournée est une chaîne allouée
|
||||
|
|
|
@ -15677,6 +15677,7 @@ Argomenti:
|
|||
Valore restituito:
|
||||
|
||||
* stringa con l'informazione richiesta, NULL in caso di errore
|
||||
(deve essere liberata richiamando "free" dopo l'utilizzo)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
|
|
|
@ -15052,6 +15052,7 @@ char *weechat_info_get (const char *info_name, const char *arguments);
|
|||
戻り値:
|
||||
|
||||
* 指定したインフォを含む文字列、エラーが起きた場合は NULL
|
||||
(使用後には必ず "free" を呼び出して領域を開放してください)
|
||||
|
||||
[NOTE]
|
||||
WeeChat バージョン 2.5 以上の場合、返却される値は確保された文字列です
|
||||
|
|
Loading…
Reference in New Issue