aboutsummaryrefslogtreecommitdiff
path: root/py/objint.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-10-03 17:44:14 +0000
committerDamien George <damien.p.george@gmail.com>2014-10-03 17:44:14 +0000
commit42f3de924bc3e285490f5f293955bc6d7e5a0edf (patch)
treec33a59825957ca5561bb7bb5038575ff052d5245 /py/objint.h
parent877dba3e1a76d151c0d93c88bcfaac62ecfe3799 (diff)
py: Convert [u]int to mp_[u]int_t where appropriate.
Addressing issue #50.
Diffstat (limited to 'py/objint.h')
-rw-r--r--py/objint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objint.h b/py/objint.h
index 638742a85..70d182ba7 100644
--- a/py/objint.h
+++ b/py/objint.h
@@ -36,9 +36,9 @@ typedef struct _mp_obj_int_t {
extern const mp_obj_int_t mp_maxsize_obj;
void mp_obj_int_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t self_in, mp_print_kind_t kind);
-char *mp_obj_int_formatted(char **buf, int *buf_size, int *fmt_size, mp_const_obj_t self_in,
+char *mp_obj_int_formatted(char **buf, mp_uint_t *buf_size, mp_uint_t *fmt_size, mp_const_obj_t self_in,
int base, const char *prefix, char base_char, char comma);
-char *mp_obj_int_formatted_impl(char **buf, int *buf_size, int *fmt_size, mp_const_obj_t self_in,
+char *mp_obj_int_formatted_impl(char **buf, mp_uint_t *buf_size, mp_uint_t *fmt_size, mp_const_obj_t self_in,
int base, const char *prefix, char base_char, char comma);
mp_int_t mp_obj_int_hash(mp_obj_t self_in);
bool mp_obj_int_is_positive(mp_obj_t self_in);