#include <string.h>
#include <assert.h>
#include "py/objtuple.h"
#include "py/objfun.h"
#include "py/runtime.h"
#include "py/bc.h"
#include "py/stackctrl.h"
Go to the source code of this file.
|
STATIC mp_obj_t | fun_builtin_0_call (mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args) |
|
STATIC mp_obj_t | fun_builtin_1_call (mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args) |
|
STATIC mp_obj_t | fun_builtin_2_call (mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args) |
|
STATIC mp_obj_t | fun_builtin_3_call (mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args) |
|
STATIC mp_obj_t | fun_builtin_var_call (mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args) |
|
qstr | mp_obj_code_get_name (const byte *code_info) |
|
qstr | mp_obj_fun_get_name (mp_const_obj_t fun_in) |
|
STATIC mp_obj_t | fun_bc_call (mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args) |
|
mp_obj_t | mp_obj_new_fun_bc (mp_obj_t def_args_in, mp_obj_t def_kw_args, const byte *code, const mp_uint_t *const_table) |
|
◆ DEBUG_PRINT
◆ DEBUG_printf
#define DEBUG_printf |
( |
|
... | ) |
(void)0 |
◆ dump_args
#define dump_args |
( |
|
... | ) |
(void)0 |
◆ VM_DETECT_STACK_OVERFLOW
#define VM_DETECT_STACK_OVERFLOW (0) |
◆ VM_MAX_STATE_ON_STACK
#define VM_MAX_STATE_ON_STACK (11 * sizeof(mp_uint_t)) |
◆ fun_bc_call()
◆ fun_builtin_0_call()
◆ fun_builtin_1_call()
◆ fun_builtin_2_call()
◆ fun_builtin_3_call()
◆ fun_builtin_var_call()
◆ mp_obj_code_get_name()
qstr mp_obj_code_get_name |
( |
const byte * |
code_info | ) |
|
◆ mp_obj_fun_get_name()
◆ mp_obj_new_fun_bc()
◆ mp_type_fun_bc
Initial value:= {
.
name = MP_QSTR_function,
}
mp_obj_t mp_generic_unary_op(mp_unary_op_t op, mp_obj_t o_in)
const mp_obj_type_t mp_type_type
STATIC mp_obj_t fun_bc_call(mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args)
Definition at line 331 of file objfun.c.
◆ mp_type_fun_builtin_0
Initial value:= {
.
name = MP_QSTR_function,
}
mp_obj_t mp_generic_unary_op(mp_unary_op_t op, mp_obj_t o_in)
const mp_obj_type_t mp_type_type
STATIC mp_obj_t fun_builtin_0_call(mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args)
Definition at line 59 of file objfun.c.
◆ mp_type_fun_builtin_1
Initial value:= {
.
name = MP_QSTR_function,
}
mp_obj_t mp_generic_unary_op(mp_unary_op_t op, mp_obj_t o_in)
STATIC mp_obj_t fun_builtin_1_call(mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args)
const mp_obj_type_t mp_type_type
Definition at line 73 of file objfun.c.
◆ mp_type_fun_builtin_2
Initial value:= {
.
name = MP_QSTR_function,
}
mp_obj_t mp_generic_unary_op(mp_unary_op_t op, mp_obj_t o_in)
STATIC mp_obj_t fun_builtin_2_call(mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args)
const mp_obj_type_t mp_type_type
Definition at line 87 of file objfun.c.
◆ mp_type_fun_builtin_3
Initial value:= {
.
name = MP_QSTR_function,
}
STATIC mp_obj_t fun_builtin_3_call(mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args)
mp_obj_t mp_generic_unary_op(mp_unary_op_t op, mp_obj_t o_in)
const mp_obj_type_t mp_type_type
Definition at line 101 of file objfun.c.
◆ mp_type_fun_builtin_var
Initial value:= {
.
name = MP_QSTR_function,
}
mp_obj_t mp_generic_unary_op(mp_unary_op_t op, mp_obj_t o_in)
STATIC mp_obj_t fun_builtin_var_call(mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args)
const mp_obj_type_t mp_type_type
Definition at line 131 of file objfun.c.