From 44739e280e81c2ebf2491818eb5a6d0ef30c7c6b Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 16 Feb 2014 18:11:42 +0200 Subject: Make DEBUG_printf() a proper function, implementation is port-dependent. In particular, unix outputs to stderr, to allow to run testsuite against micropython built with debug output (by redirecting stderr to /dev/null). --- py/misc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'py/misc.h') diff --git a/py/misc.h b/py/misc.h index 065b070892..989650c17a 100644 --- a/py/misc.h +++ b/py/misc.h @@ -117,4 +117,7 @@ void vstr_printf(vstr_t *vstr, const char *fmt, ...); void vstr_vprintf(vstr_t *vstr, const char *fmt, va_list ap); #endif +// Debugging helpers +int DEBUG_printf(const char *fmt, ...); + #endif // _INCLUDED_MINILIB_H -- cgit v1.2.3