1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +02:00

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.
This commit is contained in:
Trygve Aaberge
2022-09-28 19:55:39 +02:00
committed by Sébastien Helleu
parent 135960859d
commit 76d4cc7e3f
5 changed files with 15 additions and 15 deletions
+3 -3
View File
@@ -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)