summaryrefslogtreecommitdiffstatshomepage
path: root/py/obj.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-01-12 17:30:48 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-01-12 22:04:21 +0200
commit48b3572f7eb70a1af97f008d342ee266fdfc0717 (patch)
tree96790fc5b06a9f573dd8d50bc07e54348c1c549c /py/obj.h
parent80f60e1aee8c427c942a867b4c2cde48566bdc19 (diff)
downloadmicropython-48b3572f7eb70a1af97f008d342ee266fdfc0717.tar.gz
micropython-48b3572f7eb70a1af97f008d342ee266fdfc0717.zip
Add framework to support alternative implementations of long int Python type.
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/obj.h b/py/obj.h
index 5a104d703c..a9a5827ee7 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -198,6 +198,8 @@ mp_obj_t mp_obj_new_none(void);
mp_obj_t mp_obj_new_bool(bool value);
mp_obj_t mp_obj_new_cell(mp_obj_t obj);
mp_obj_t mp_obj_new_int(machine_int_t value);
+mp_obj_t mp_obj_new_int_from_uint(machine_uint_t value);
+mp_obj_t mp_obj_new_int_from_long_str(const char *s);
mp_obj_t mp_obj_new_str(qstr qstr);
#if MICROPY_ENABLE_FLOAT
mp_obj_t mp_obj_new_float(mp_float_t val);