From 5edaca6cf2ea681c01c7ee0ef5daa041ed185640 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Mon, 9 Mar 2020 14:58:51 -0400 Subject: more varargs and bugfixes --- main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index 4fe435d..63efe85 100644 --- a/main.c +++ b/main.c @@ -10,9 +10,11 @@ TODO: variadic fns const varargs +varargs only exist in decls. not a type of its own don't allow default varargs don't allow semiconst varargs make sure you can't have a variadic function pointer +make sure varargs works with inference #foreign variadic fns where #returns_code (function/struct body is a block, to be evaluated at compile time, which returns the actual statements -- you can use this for implementation of printf) -- cgit v1.2.3