From: Jérémie Astor Date: Mon, 14 Sep 2020 11:21:35 +0000 (+0200) Subject: :art: clean X-Git-Tag: nightly~1310 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=fc4b8ef4d9b59921d9ba989e38fe98e02d08fe00;p=gwion.git :art: clean --- 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;