From 61b06f3756596d0e858db25f5293920eff29333c Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 2 Nov 2014 17:46:53 +0100 Subject: client API: nothing uses the result parameter of mpv_command_node() Add a comment about this to avoid confusing users of this function. The parameter is essentially unused, but exists so that we don't need to add extra APIs if the need for it arises. --- libmpv/client.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmpv/client.h b/libmpv/client.h index bc594cee6a..ec41881f24 100644 --- a/libmpv/client.h +++ b/libmpv/client.h @@ -699,6 +699,8 @@ int mpv_command(mpv_handle *ctx, const char **args); * function succeeds, this is set to command-specific return * data. You must call mpv_free_node_contents() to free it * (again, only if the command actually succeeds). + * Currently, no command uses this, but that can change in + * the future. * @return error code (the result parameter is not set on error) */ int mpv_command_node(mpv_handle *ctx, mpv_node *args, mpv_node *result); -- cgit v1.2.3