summaryrefslogtreecommitdiffstats
path: root/vm.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-09-05 19:08:40 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-09-05 19:08:40 -0700
commit4cfe0b06693df6003c4d978fd2ed6924bb2345ba (patch)
tree3a8d0bd08660c63ebea88830c2d7e2e7628c3360 /vm.c
parentce7240c36c1f143812f86b01e05318474d569f1c (diff)
downloadtxr-4cfe0b06693df6003c4d978fd2ed6924bb2345ba.tar.gz
txr-4cfe0b06693df6003c4d978fd2ed6924bb2345ba.tar.bz2
txr-4cfe0b06693df6003c4d978fd2ed6924bb2345ba.zip
Use vargs typedef instead of struct args *.
The vargs typedef is underused. Let's use it consistently everywhere. * args.c, * args.h, * args.c, * args.h, * arith.c, * eval.c * ffi.c, * gc.c, * hash.c, * lib.c, * lib.h, * parser.c, * stream.c, * struct.c, * struct.h, * syslog.c, * syslog.h, * unwind.c, * vm.c, * vm.h: All "struct args * declarations replaced with existing "varg" typedef that comes from lib.h.
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index df339447..60203554 100644
--- a/vm.c
+++ b/vm.c
@@ -1147,7 +1147,7 @@ val vm_execute_toplevel(val desc)
return vm_execute(&vm);
}
-val vm_execute_closure(val fun, struct args *args)
+val vm_execute_closure(val fun, varg args)
{
val self = lit("vm-execute-closure");
val closure = fun->f.env;