Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include <string.h>
#include <stdarg.h>
#include <assert.h>
#include <stdio.h>
#include "py/objlist.h"
#include "py/objstr.h"
#include "py/objtuple.h"
#include "py/objtype.h"
#include "py/runtime.h"
#include "py/gc.h"
#include "py/mperrno.h"
Go to the source code of this file.
Classes | |
struct | _exc_printer_t |
Macros | |
#define | TRACEBACK_ENTRY_LEN (3) |
#define | EMG_TRACEBACK_ALLOC (2 * TRACEBACK_ENTRY_LEN) |
#define | MP_DEFINE_EXCEPTION(exc_name, base_name) |
#define | GET_NATIVE_EXCEPTION(self, self_in) |
Variables | |
const mp_obj_exception_t | mp_const_MemoryError_obj = {{&mp_type_MemoryError}, 0, 0, NULL, (mp_obj_tuple_t*)&mp_const_empty_tuple_obj} |
const mp_obj_exception_t | mp_const_GeneratorExit_obj = {{&mp_type_GeneratorExit}, 0, 0, NULL, (mp_obj_tuple_t*)&mp_const_empty_tuple_obj} |
STATIC const mp_rom_map_elem_t | exc_locals_dict_table [] |
const mp_obj_type_t | mp_type_BaseException |
#define EMG_TRACEBACK_ALLOC (2 * TRACEBACK_ENTRY_LEN) |
Definition at line 44 of file objexcept.c.
#define GET_NATIVE_EXCEPTION | ( | self, | |
self_in | |||
) |
Definition at line 468 of file objexcept.c.
#define MP_DEFINE_EXCEPTION | ( | exc_name, | |
base_name | |||
) |
Definition at line 238 of file objexcept.c.
#define TRACEBACK_ENTRY_LEN (3) |
Definition at line 41 of file objexcept.c.
Definition at line 215 of file objexcept.c.
Definition at line 358 of file objexcept.c.
Definition at line 192 of file objexcept.c.
STATIC MP_DEFINE_CONST_DICT | ( | exc_locals_dict | , |
exc_locals_dict_table | |||
) |
STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN | ( | exc___init___obj | , |
1 | , | ||
MP_OBJ_FUN_ARGS_MAX | , | ||
exc___init__ | |||
) |
Definition at line 485 of file objexcept.c.
void mp_obj_exception_clear_traceback | ( | mp_obj_t | self_in | ) |
Definition at line 478 of file objexcept.c.
Definition at line 537 of file objexcept.c.
Definition at line 183 of file objexcept.c.
mp_obj_t mp_obj_exception_make_new | ( | const mp_obj_type_t * | type, |
size_t | n_args, | ||
size_t | n_kw, | ||
const mp_obj_t * | args | ||
) |
Definition at line 133 of file objexcept.c.
bool mp_obj_exception_match | ( | mp_obj_t | exc, |
mp_const_obj_t | exc_type | ||
) |
Definition at line 458 of file objexcept.c.
STATIC void mp_obj_exception_print | ( | const mp_print_t * | print, |
mp_obj_t | o_in, | ||
mp_print_kind_t | kind | ||
) |
Definition at line 99 of file objexcept.c.
Definition at line 451 of file objexcept.c.
Definition at line 439 of file objexcept.c.
mp_obj_t mp_obj_new_exception | ( | const mp_obj_type_t * | exc_type | ) |
Definition at line 329 of file objexcept.c.
mp_obj_t mp_obj_new_exception_arg1 | ( | const mp_obj_type_t * | exc_type, |
mp_obj_t | arg | ||
) |
Definition at line 334 of file objexcept.c.
mp_obj_t mp_obj_new_exception_args | ( | const mp_obj_type_t * | exc_type, |
size_t | n_args, | ||
const mp_obj_t * | args | ||
) |
Definition at line 338 of file objexcept.c.
mp_obj_t mp_obj_new_exception_msg | ( | const mp_obj_type_t * | exc_type, |
const char * | msg | ||
) |
Definition at line 343 of file objexcept.c.
mp_obj_t mp_obj_new_exception_msg_varg | ( | const mp_obj_type_t * | exc_type, |
const char * | fmt, | ||
... | |||
) |
Definition at line 380 of file objexcept.c.
STATIC const mp_rom_map_elem_t exc_locals_dict_table[] |
Definition at line 223 of file objexcept.c.
const mp_obj_exception_t mp_const_GeneratorExit_obj = {{&mp_type_GeneratorExit}, 0, 0, NULL, (mp_obj_tuple_t*)&mp_const_empty_tuple_obj} |
Definition at line 97 of file objexcept.c.
const mp_obj_exception_t mp_const_MemoryError_obj = {{&mp_type_MemoryError}, 0, 0, NULL, (mp_obj_tuple_t*)&mp_const_empty_tuple_obj} |
Definition at line 47 of file objexcept.c.
const mp_obj_type_t mp_type_BaseException |
Definition at line 229 of file objexcept.c.