diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-03-29 06:48:10 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-03-29 06:48:10 -0700 |
commit | 51b96e84cfa8be259cf42666d23c6dbd239ac44b (patch) | |
tree | 6935dad7d0bc156db19c29a2b11b516ea8ac8173 /args.h | |
parent | 706e9bc7983ebb54cfbd7f95b1e98252dfd0d558 (diff) | |
download | txr-51b96e84cfa8be259cf42666d23c6dbd239ac44b.tar.gz txr-51b96e84cfa8be259cf42666d23c6dbd239ac44b.tar.bz2 txr-51b96e84cfa8be259cf42666d23c6dbd239ac44b.zip |
args: new args reversing function.
* args.c (args_copy_reverse): New function.
* args.h (args_copy_reverse): Declared.
Diffstat (limited to 'args.h')
-rw-r--r-- | args.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -187,6 +187,7 @@ struct args *args_copy(struct args *to, struct args *from); struct args *args_copy_zap(struct args *to, struct args *from); struct args *args_cat_zap(struct args *to, struct args *from); struct args *args_cat_zap_from(struct args *to, struct args *from, cnum index); +struct args *args_copy_reverse(struct args *to, struct args *from, cnum nargs); val args_copy_to_list(struct args *args); void args_for_each(struct args *args, int (*fn)(val arg, int ix, mem_t *ctx), |