blob: c164a76611054500eb3a0749dbf92b3e1bbd17e8 [file] [log] [blame]
Damiend99b0522013-12-21 18:17:45 +00001// TODO convert all these to objects using MP_DECLARE and MP_DEFINE
2
3mp_obj_t mp_builtin___build_class__(mp_obj_t o_class_fun, mp_obj_t o_class_name);
4mp_obj_t mp_builtin___import__(int n, mp_obj_t *args);
5mp_obj_t mp_builtin___repl_print__(mp_obj_t o);
6mp_obj_t mp_builtin_abs(mp_obj_t o_in);
7mp_obj_t mp_builtin_all(mp_obj_t o_in);
8mp_obj_t mp_builtin_any(mp_obj_t o_in);
9mp_obj_t mp_builtin_bool(int n_args, const mp_obj_t *args);
10mp_obj_t mp_builtin_callable(mp_obj_t o_in);
11mp_obj_t mp_builtin_complex(int n_args, const mp_obj_t *args);
12mp_obj_t mp_builtin_chr(mp_obj_t o_in);
13mp_obj_t mp_builtin_dict(void);
14mp_obj_t mp_builtin_divmod(mp_obj_t o1_in, mp_obj_t o2_in);
15MP_DECLARE_CONST_FUN_OBJ(mp_builtin_hash_obj);
16MP_DECLARE_CONST_FUN_OBJ(mp_builtin_iter_obj);
17mp_obj_t mp_builtin_len(mp_obj_t o_in);
18mp_obj_t mp_builtin_list(int n_args, const mp_obj_t *args);
19mp_obj_t mp_builtin_max(int n_args, const mp_obj_t *args);
20mp_obj_t mp_builtin_min(int n_args, const mp_obj_t *args);
21MP_DECLARE_CONST_FUN_OBJ(mp_builtin_next_obj);
22mp_obj_t mp_builtin_ord(mp_obj_t o_in);
23mp_obj_t mp_builtin_pow(int n_args, const mp_obj_t *args);
24mp_obj_t mp_builtin_print(int n_args, const mp_obj_t *args);
25mp_obj_t mp_builtin_range(int n_args, const mp_obj_t *args);
26MP_DECLARE_CONST_FUN_OBJ(mp_builtin_set_obj);
27mp_obj_t mp_builtin_sum(int n_args, const mp_obj_t *args);