summaryrefslogtreecommitdiff
path: root/doc/it
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2022-09-28 19:55:39 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-09-28 21:42:21 +0200
commit76d4cc7e3fd3939bcd270e2b9c671fb5f227997c (patch)
tree5365eae462e3120e896ebe69f3fe1cb0d2971e38 /doc/it
parent135960859d2cb6b7771c05ed07a1ff88249f1c78 (diff)
downloadweechat-76d4cc7e3fd3939bcd270e2b9c671fb5f227997c.zip
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.
Diffstat (limited to 'doc/it')
-rw-r--r--doc/it/weechat_plugin_api.it.adoc6
1 files changed, 3 insertions, 3 deletions
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)