summaryrefslogtreecommitdiffstatshomepage
path: root/py/obj.h
diff options
context:
space:
mode:
authorxyb <xieyanbo@gmail.com>2014-01-14 21:39:05 +0800
committerxyb <xieyanbo@gmail.com>2014-01-14 21:39:05 +0800
commitc178ea471ee30f32439741181d30d6a89830aabf (patch)
treebbd572854f1491523ab70f122695f511c3d9c265 /py/obj.h
parent729e9cce7bd31d3f107a4d6e9498b0fa27119e22 (diff)
downloadmicropython-c178ea471ee30f32439741181d30d6a89830aabf.tar.gz
micropython-c178ea471ee30f32439741181d30d6a89830aabf.zip
Implemented int(str) in UNIX
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/obj.h b/py/obj.h
index b92f1e2a7e..381fcc1f25 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -235,6 +235,7 @@ bool mp_obj_equal(mp_obj_t o1, mp_obj_t o2);
bool mp_obj_less(mp_obj_t o1, mp_obj_t o2);
machine_int_t mp_obj_get_int(mp_obj_t arg);
+machine_int_t mp_obj_get_int_base(mp_obj_t arg, mp_obj_t base_arg);
#if MICROPY_ENABLE_FLOAT
mp_float_t mp_obj_get_float(mp_obj_t self_in);
void mp_obj_get_complex(mp_obj_t self_in, mp_float_t *real, mp_float_t *imag);