doc: add note about call to "free" on result of info_get (plugin API reference)

v2.8-utf8proc
Sébastien Helleu 2020-03-20 07:08:14 +01:00
parent 5c1dfcbe5b
commit c05cb595dc
4 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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]

View File

@ -15052,6 +15052,7 @@ char *weechat_info_get (const char *info_name, const char *arguments);
戻り値:
* 指定したインフォを含む文字列、エラーが起きた場合は NULL
(使用後には必ず "free" を呼び出して領域を開放してください)
[NOTE]
WeeChat バージョン 2.5 以上の場合、返却される値は確保された文字列です