From 76d4cc7e3fd3939bcd270e2b9c671fb5f227997c Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Wed, 28 Sep 2022 19:55:39 +0200 Subject: doc/api: Add values for hook_process constants When logging this value I just see a number so I have to look up what it means. Previously you would have to check the code or print the value of each of these constants to see it. Seeing the value directly in the documentation makes this much easier. --- doc/it/weechat_plugin_api.it.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/it/weechat_plugin_api.it.adoc') diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 00d4e9bb8..87bfb7b51 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -9770,11 +9770,11 @@ Argomenti: **** _3_: memoria non sufficiente **** _4_: errore con un file *** _< 0_: -**** _WEECHAT_HOOK_PROCESS_RUNNING_: dati disponibili, ma figlio ancora in +**** _WEECHAT_HOOK_PROCESS_RUNNING_ (-1): dati disponibili, ma figlio ancora in esecuzione -**** _WEECHAT_HOOK_PROCESS_ERROR_: errore nella esecuzione del comando +**** _WEECHAT_HOOK_PROCESS_ERROR_ (-2): errore nella esecuzione del comando // TRANSLATION MISSING -**** _WEECHAT_HOOK_PROCESS_CHILD_: callback is called in the child process +**** _WEECHAT_HOOK_PROCESS_CHILD_ (-3): callback is called in the child process (used only in C API, not scripting API) ** _out_: output standard del comando (stdout) ** _err_: output di errore del comando (stderr) -- cgit v1.2.3