summaryrefslogtreecommitdiff
path: root/py/pfenv.h
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2014-06-05 23:09:02 -0700
committerDave Hylands <dhylands@gmail.com>2014-06-05 23:09:02 -0700
commitb69f9fa31f976cac4cdcb441612c8a72b10af457 (patch)
treedcd3d480a4099e5d3205a2ed132df534fc61b024 /py/pfenv.h
parent380f147d2e39904641e280ab19f8f77daf3c5be3 (diff)
Fix str.modulo when precision is specified.
Diffstat (limited to 'py/pfenv.h')
-rw-r--r--py/pfenv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/pfenv.h b/py/pfenv.h
index 2a3de6c32..55eca6fed 100644
--- a/py/pfenv.h
+++ b/py/pfenv.h
@@ -45,7 +45,7 @@ void pfenv_vstr_add_strn(void *data, const char *str, unsigned int len);
int pfenv_print_strn(const pfenv_t *pfenv, const char *str, unsigned int len, int flags, char fill, int width);
int pfenv_print_int(const pfenv_t *pfenv, machine_uint_t x, int sgn, int base, int base_char, int flags, char fill, int width);
-int pfenv_print_mp_int(const pfenv_t *pfenv, mp_obj_t x, int sgn, int base, int base_char, int flags, char fill, int width);
+int pfenv_print_mp_int(const pfenv_t *pfenv, mp_obj_t x, int sgn, int base, int base_char, int flags, char fill, int width, int prec);
#if MICROPY_PY_BUILTINS_FLOAT
int pfenv_print_float(const pfenv_t *pfenv, mp_float_t f, char fmt, int flags, char fill, int width, int prec);
#endif