From d9bc97bda6e4750af2fbbfcb51ddb6b2c04c277b Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 12 May 2018 15:14:07 +0200 Subject: 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. --- options/m_option.h | 1 + 1 file changed, 1 insertion(+) (limited to 'options') 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} -- cgit v1.2.3