0c36da0b59
mp_module_obj_t can now be put in ROM. Configuration of float type is now similar to longint: can now choose none, float or double as the implementation. math module has basic math functions. For STM port, these are not yet implemented (they are just stub functions).
39 lines
1.7 KiB
C
39 lines
1.7 KiB
C
mp_obj_t mp_builtin___import__(int n_args, mp_obj_t *args);
|
|
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin___build_class___obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin___import___obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin___repl_print___obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_abs_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_all_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_any_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_bytes_obj); // Temporary hack
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_callable_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_chr_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_dir_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_divmod_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_eval_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_exec_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_hash_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_id_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_isinstance_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_issubclass_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_iter_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_len_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_list_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_max_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_min_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_next_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_ord_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_pow_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_print_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_range_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_repr_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_sorted_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_sum_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_str_obj);
|
|
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_namedtuple_obj);
|
|
|
|
extern const mp_obj_module_t mp_module_math;
|
|
extern const mp_obj_module_t mp_module_micropython;
|