From fc4b8ef4d9b59921d9ba989e38fe98e02d08fe00 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 14 Sep 2020 13:21:35 +0200 Subject: [PATCH] :art: clean --- tests/import/variadic.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/import/variadic.c b/tests/import/variadic.c index 4b8b7cd6..4d398a65 100644 --- a/tests/import/variadic.c +++ b/tests/import/variadic.c @@ -11,7 +11,7 @@ #include "gwi.h" static MFUN(m_test) { - printf("%p\n", *(M_Object*)MEM(0)); + gw_out("%p\n", *(M_Object*)MEM(0)); } static MFUN(m_variadic) { @@ -24,13 +24,13 @@ static MFUN(m_variadic) { m_uint i = 0; while(i < arg->s) { if(*str == 'i') { - printf("%" INT_F "\n", *(m_int*)(arg->d + arg->o)); + gw_out("%"INT_F "\n", *(m_int*)(arg->d + arg->o)); arg->o += SZ_INT; } else if(*str == 'f') { - printf("%f\n", *(m_float*)(arg->d + arg->o)); + gw_out("%f\n", *(m_float*)(arg->d + arg->o)); arg->o += SZ_FLOAT; } else if(*str == 'o') { - printf("%p\n", (void*)*(M_Object*)(arg->d + arg->o)); + gw_out("%p\n", (void*)*(M_Object*)(arg->d + arg->o)); arg->o += SZ_INT; } ++i; -- 2.43.0