a80ff04fe7
Currently, MicroPython strings are mix between CPython byte and unicode strings. So, conversion is null so far. This dummy implementation is intended for compatibility with CPython (so, same code can run on both).
32 lines
1.4 KiB
C
32 lines
1.4 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___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_divmod_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_eval_obj);
|
|
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_hash_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);
|
|
|
|
void mp_module_micropython_init(void);
|