From 8fd13680a7b87dc1a9ba2119666f7b0e26bc62b5 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Wed, 11 Jun 2025 00:10:59 +0200 Subject: stdlib: Remove println varargs forwarding is platform specific with llvm, so we cannot easily have this function --- examples/24.src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/24.src') diff --git a/examples/24.src b/examples/24.src index e0a3081..7349906 100644 --- a/examples/24.src +++ b/examples/24.src @@ -9,8 +9,8 @@ let test = struct { }; let print_struct = (s: *test) => void { - println("X: %d", (*s).x); - println("Y: %s", (*s).y); + printf("X: %d\n", (*s).x); + printf("Y: %s\n", (*s).y); if (*s).z != cast(*test, null) { print_struct((*s).z); }; -- cgit 1.4.1