diff options
Diffstat (limited to 'src/hs_parse_args.c')
-rw-r--r-- | src/hs_parse_args.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/hs_parse_args.c b/src/hs_parse_args.c index 5a14bd0..685561e 100644 --- a/src/hs_parse_args.c +++ b/src/hs_parse_args.c @@ -111,3 +111,14 @@ void hs_parse_args_(lua_State *L, int n_args, struct hs_arg *arguments) lua_error(L); } } + +int hs_parse_overloaded_(lua_State *L, ...) +{ + va_list args, args_error; + va_start(args, L); + va_copy(args_error, args); + + int choice = 0; + va_end(args); + va_end(args_error); +} |