summaryrefslogtreecommitdiffstats
path: root/options
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 /options
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 'options')
-rw-r--r--options/m_option.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/m_option.h b/options/m_option.h
index 584ad13959..9d9f201871 100644
--- a/options/m_option.h
+++ b/options/m_option.h
@@ -568,6 +568,7 @@ extern const char m_option_path_separator;
#define OPTDEF_STR(s) .defval = (void *)&(char * const){s}
#define OPTDEF_INT(i) .defval = (void *)&(const int){i}
+#define OPTDEF_INT64(i) .defval = (void *)&(const int64_t){i}
#define OPTDEF_FLOAT(f) .defval = (void *)&(const float){f}
#define OPTDEF_DOUBLE(d) .defval = (void *)&(const double){d}