summaryrefslogtreecommitdiffstatshomepage
path: root/py/builtin.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/builtin.h')
-rw-r--r--py/builtin.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/py/builtin.h b/py/builtin.h
index c164a76611..2d95e3a913 100644
--- a/py/builtin.h
+++ b/py/builtin.h
@@ -8,11 +8,17 @@ mp_obj_t mp_builtin_all(mp_obj_t o_in);
mp_obj_t mp_builtin_any(mp_obj_t o_in);
mp_obj_t mp_builtin_bool(int n_args, const mp_obj_t *args);
mp_obj_t mp_builtin_callable(mp_obj_t o_in);
-mp_obj_t mp_builtin_complex(int n_args, const mp_obj_t *args);
+#if MICROPY_ENABLE_FLOAT
+MP_DECLARE_CONST_FUN_OBJ(mp_builtin_complex_obj);
+#endif
mp_obj_t mp_builtin_chr(mp_obj_t o_in);
mp_obj_t mp_builtin_dict(void);
mp_obj_t mp_builtin_divmod(mp_obj_t o1_in, mp_obj_t o2_in);
+#if MICROPY_ENABLE_FLOAT
+MP_DECLARE_CONST_FUN_OBJ(mp_builtin_float_obj);
+#endif
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_hash_obj);
+MP_DECLARE_CONST_FUN_OBJ(mp_builtin_int_obj);
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_iter_obj);
mp_obj_t mp_builtin_len(mp_obj_t o_in);
mp_obj_t mp_builtin_list(int n_args, const mp_obj_t *args);