aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/job.c
diff options
context:
space:
mode:
authoroni-link <knil.ino@gmail.com>2014-11-08 03:28:06 +0100
committeroni-link <knil.ino@gmail.com>2014-11-09 10:35:39 +0100
commitcf95d27689ac48c48c6ff2f360439beeac3976af (patch)
tree991879f5d8b3f5d318d0fbf285cfd7e9f1a7064f /src/nvim/os/job.c
parent70cb863096a0a25d6d51f53807f3991fa21aa93f (diff)
downloadrneovim-cf95d27689ac48c48c6ff2f360439beeac3976af.tar.gz
rneovim-cf95d27689ac48c48c6ff2f360439beeac3976af.tar.bz2
rneovim-cf95d27689ac48c48c6ff2f360439beeac3976af.zip
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.
Diffstat (limited to 'src/nvim/os/job.c')
-rw-r--r--src/nvim/os/job.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/os/job.c b/src/nvim/os/job.c
index 551a7d1c87..17872ab9c9 100644
--- a/src/nvim/os/job.c
+++ b/src/nvim/os/job.c
@@ -105,7 +105,8 @@ void job_teardown(void)
/// Tries to start a new job.
///
/// @param argv Argument vector for the process. The first item is the
-/// executable to run.
+/// executable to run.
+/// [consumed]
/// @param data Caller data that will be associated with the job
/// @param writable If true the job stdin will be available for writing with
/// job_write, otherwise it will be redirected to /dev/null