diff options
author | Damien George <damien.p.george@gmail.com> | 2014-10-03 17:44:14 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-10-03 17:44:14 +0000 |
commit | 42f3de924bc3e285490f5f293955bc6d7e5a0edf (patch) | |
tree | c33a59825957ca5561bb7bb5038575ff052d5245 /py/pfenv.h | |
parent | 877dba3e1a76d151c0d93c88bcfaac62ecfe3799 (diff) | |
download | micropython-42f3de924bc3e285490f5f293955bc6d7e5a0edf.tar.gz micropython-42f3de924bc3e285490f5f293955bc6d7e5a0edf.zip |
py: Convert [u]int to mp_[u]int_t where appropriate.
Addressing issue #50.
Diffstat (limited to 'py/pfenv.h')
-rw-r--r-- | py/pfenv.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/py/pfenv.h b/py/pfenv.h index 781738f4db..fea2c883e9 100644 --- a/py/pfenv.h +++ b/py/pfenv.h @@ -38,12 +38,12 @@ typedef struct _pfenv_t { void *data; - void (*print_strn)(void *, const char *str, unsigned int len); + void (*print_strn)(void *, const char *str, mp_uint_t len); } pfenv_t; -void pfenv_vstr_add_strn(void *data, const char *str, unsigned int len); +void pfenv_vstr_add_strn(void *data, const char *str, mp_uint_t len); -int pfenv_print_strn(const pfenv_t *pfenv, const char *str, unsigned int len, int flags, char fill, int width); +int pfenv_print_strn(const pfenv_t *pfenv, const char *str, mp_uint_t len, int flags, char fill, int width); int pfenv_print_int(const pfenv_t *pfenv, mp_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 prec); #if MICROPY_PY_BUILTINS_FLOAT |