mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 10:26:31 +00:00
Mark some function arguments as [consumed] in the docs.
The argument argv of job_start() and channel_from_job() will be freed. Mark them as such in the comments of this functions.
This commit is contained in:
@@ -119,7 +119,7 @@ void channel_teardown(void)
|
||||
/// Creates an API channel by starting a job and connecting to its
|
||||
/// stdin/stdout. stderr is forwarded to the editor error stream.
|
||||
///
|
||||
/// @param argv The argument vector for the process
|
||||
/// @param argv The argument vector for the process. [consumed]
|
||||
/// @return The channel id
|
||||
uint64_t channel_from_job(char **argv)
|
||||
{
|
||||
|
Reference in New Issue
Block a user