mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 16:53: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:
committed by
Sébastien Helleu
parent
135960859d
commit
76d4cc7e3f
@@ -9510,10 +9510,10 @@ struct t_hook *weechat_hook_process (const char *command,
|
||||
**** _3_: メモリ不足
|
||||
**** _4_: ファイルに関するエラー
|
||||
*** _< 0_:
|
||||
**** _WEECHAT_HOOK_PROCESS_RUNNING_: データは利用可能だが子プロセスは終了していない
|
||||
**** _WEECHAT_HOOK_PROCESS_ERROR_: コマンドの起動中にエラー
|
||||
**** _WEECHAT_HOOK_PROCESS_RUNNING_ (-1): データは利用可能だが子プロセスは終了していない
|
||||
**** _WEECHAT_HOOK_PROCESS_ERROR_ (-2): コマンドの起動中にエラー
|
||||
// TRANSLATION MISSING
|
||||
**** _WEECHAT_HOOK_PROCESS_CHILD_: 子プロセスからコールバックが呼び出された
|
||||
**** _WEECHAT_HOOK_PROCESS_CHILD_ (-3): 子プロセスからコールバックが呼び出された
|
||||
(used only in C API, not scripting API)
|
||||
** _out_: コマンドの標準出力 (stdout)
|
||||
** _err_: コマンドの標準エラー出力 (stderr)
|
||||
|
||||
Reference in New Issue
Block a user