summaryrefslogtreecommitdiffstats
path: root/input/cmd.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-12 15:14:07 +0200
committerwm4 <wm4@nowhere>2018-05-24 19:56:34 +0200
commitd9bc97bda6e4750af2fbbfcb51ddb6b2c04c277b (patch)
tree28e21cbff4d4e102696c0416045973e7d851bdbf /input/cmd.h
parent1aae88b4879f40c68cebbdcd47895787ecdcdf68 (diff)
downloadmpv-d9bc97bda6e4750af2fbbfcb51ddb6b2c04c277b.tar.bz2
mpv-d9bc97bda6e4750af2fbbfcb51ddb6b2c04c277b.tar.xz
command: add a subprocess command
This supports named arguments. It benefits from the infrastructure of async commands. The plan is to reimplement Lua's utils.subprocess() on top of it.
Diffstat (limited to 'input/cmd.h')
-rw-r--r--input/cmd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/input/cmd.h b/input/cmd.h
index 01f2d8356f..0e65565252 100644
--- a/input/cmd.h
+++ b/input/cmd.h
@@ -80,6 +80,7 @@ struct mp_cmd_arg {
const struct m_option *type;
union {
int i;
+ int64_t i64;
float f;
double d;
char *s;