diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-09-05 19:08:40 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-09-05 19:08:40 -0700 |
commit | 4cfe0b06693df6003c4d978fd2ed6924bb2345ba (patch) | |
tree | 3a8d0bd08660c63ebea88830c2d7e2e7628c3360 /vm.c | |
parent | ce7240c36c1f143812f86b01e05318474d569f1c (diff) | |
download | txr-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |