diff options
author | oni-link <knil.ino@gmail.com> | 2014-11-08 03:28:06 +0100 |
---|---|---|
committer | oni-link <knil.ino@gmail.com> | 2014-11-09 10:35:39 +0100 |
commit | cf95d27689ac48c48c6ff2f360439beeac3976af (patch) | |
tree | 991879f5d8b3f5d318d0fbf285cfd7e9f1a7064f /src/nvim/msgpack_rpc/channel.c | |
parent | 70cb863096a0a25d6d51f53807f3991fa21aa93f (diff) | |
download | rneovim-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/msgpack_rpc/channel.c')
-rw-r--r-- | src/nvim/msgpack_rpc/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c index aa6008558f..da1dc8d1b5 100644 --- a/src/nvim/msgpack_rpc/channel.c +++ b/src/nvim/msgpack_rpc/channel.c @@ -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) { |