|
Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include "py/obj.h"Go to the source code of this file.
Classes | |
| struct | _mp_raw_code_t |
Typedefs | |
| typedef struct _mp_raw_code_t | mp_raw_code_t |
Enumerations | |
| enum | mp_raw_code_kind_t { MP_CODE_UNUSED, MP_CODE_RESERVED, MP_CODE_BYTECODE, MP_CODE_NATIVE_PY, MP_CODE_NATIVE_VIPER, MP_CODE_NATIVE_ASM } |
Functions | |
| mp_raw_code_t * | mp_emit_glue_new_raw_code (void) |
| void | mp_emit_glue_assign_bytecode (mp_raw_code_t *rc, const byte *code, mp_uint_t len, const mp_uint_t *const_table, mp_uint_t scope_flags) |
| void | mp_emit_glue_assign_native (mp_raw_code_t *rc, mp_raw_code_kind_t kind, void *fun_data, mp_uint_t fun_len, const mp_uint_t *const_table, mp_uint_t n_pos_args, mp_uint_t scope_flags, mp_uint_t type_sig) |
| mp_obj_t | mp_make_function_from_raw_code (const mp_raw_code_t *rc, mp_obj_t def_args, mp_obj_t def_kw_args) |
| mp_obj_t | mp_make_closure_from_raw_code (const mp_raw_code_t *rc, mp_uint_t n_closed_over, const mp_obj_t *args) |
| typedef struct _mp_raw_code_t mp_raw_code_t |
| enum mp_raw_code_kind_t |
| Enumerator | |
|---|---|
| MP_CODE_UNUSED | |
| MP_CODE_RESERVED | |
| MP_CODE_BYTECODE | |
| MP_CODE_NATIVE_PY | |
| MP_CODE_NATIVE_VIPER | |
| MP_CODE_NATIVE_ASM | |
Definition at line 33 of file emitglue.h.
| void mp_emit_glue_assign_bytecode | ( | mp_raw_code_t * | rc, |
| const byte * | code, | ||
| mp_uint_t | len, | ||
| const mp_uint_t * | const_table, | ||
| mp_uint_t | scope_flags | ||
| ) |
Definition at line 58 of file emitglue.c.
| void mp_emit_glue_assign_native | ( | mp_raw_code_t * | rc, |
| mp_raw_code_kind_t | kind, | ||
| void * | fun_data, | ||
| mp_uint_t | fun_len, | ||
| const mp_uint_t * | const_table, | ||
| mp_uint_t | n_pos_args, | ||
| mp_uint_t | scope_flags, | ||
| mp_uint_t | type_sig | ||
| ) |
| mp_raw_code_t* mp_emit_glue_new_raw_code | ( | void | ) |
Definition at line 52 of file emitglue.c.
| mp_obj_t mp_make_closure_from_raw_code | ( | const mp_raw_code_t * | rc, |
| mp_uint_t | n_closed_over, | ||
| const mp_obj_t * | args | ||
| ) |
Definition at line 157 of file emitglue.c.
| mp_obj_t mp_make_function_from_raw_code | ( | const mp_raw_code_t * | rc, |
| mp_obj_t | def_args, | ||
| mp_obj_t | def_kw_args | ||
| ) |
Definition at line 116 of file emitglue.c.