aboutsummaryrefslogtreecommitdiff
path: root/py/objint.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-01-13 19:19:16 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-01-15 02:15:38 +0200
commit76d982ef343dcadd35355aed9c568984c850fb7b (patch)
tree1ded5f199ce740d3b72c00cc1e9c2b402936632f /py/objint.h
parent24224d7c72e1d6572ef0d24f08eb882dcac8dc50 (diff)
type->print(): Distinguish str() and repr() variety by passing extra param.
Diffstat (limited to 'py/objint.h')
-rw-r--r--py/objint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objint.h b/py/objint.h
index 14cf977be..7d43971ec 100644
--- a/py/objint.h
+++ b/py/objint.h
@@ -5,5 +5,5 @@ typedef struct _mp_obj_int_t {
#endif
} mp_obj_int_t;
-void int_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t self_in);
+void int_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t self_in, mp_print_kind_t kind);
mp_obj_t int_binary_op(int op, mp_obj_t lhs_in, mp_obj_t rhs_in);