summaryrefslogtreecommitdiffstatshomepage
path: root/py/pfenv.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/pfenv.h')
-rw-r--r--py/pfenv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/py/pfenv.h b/py/pfenv.h
index 074c0012f8..01258f8202 100644
--- a/py/pfenv.h
+++ b/py/pfenv.h
@@ -26,6 +26,8 @@
#ifndef __MICROPY_INCLUDED_PY_PFENV_H__
#define __MICROPY_INCLUDED_PY_PFENV_H__
+#include <stdarg.h>
+
#include "py/obj.h"
#define PF_FLAG_LEFT_ADJUST (0x001)
@@ -54,7 +56,7 @@ int pfenv_print_mp_int(const pfenv_t *pfenv, mp_obj_t x, int sgn, int base, int
int pfenv_print_float(const pfenv_t *pfenv, mp_float_t f, char fmt, int flags, char fill, int width, int prec);
#endif
-//int pfenv_vprintf(const pfenv_t *pfenv, const char *fmt, va_list args);
+int pfenv_vprintf(const pfenv_t *pfenv, const char *fmt, va_list args);
int pfenv_printf(const pfenv_t *pfenv, const char *fmt, ...);
// Wrapper for system printf