diff options
| author | Damien George | 2015-02-27 00:36:39 +0000 |
|---|---|---|
| committer | Damien George | 2015-02-27 00:36:39 +0000 |
| commit | 4852e09c7914a4d4f2938dddbe155a2075bb2eb3 (patch) | |
| tree | c1a6677c13cd5394a0c574eea31d1f33259edcd3 /py/objlist.h | |
| parent | d155fecf9e27617d23a2249dacdbbcc203bdd85e (diff) | |
py: Fix adding of traceback so that it appends to existing info.
This makes exception traceback info self contained (ie doesn't rely on
list object, which was a bit of a hack), reduces code size, and reduces
RAM footprint of exception by eliminating the list object.
Addresses part of issue #1126.
Diffstat (limited to 'py/objlist.h')
| -rw-r--r-- | py/objlist.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/py/objlist.h b/py/objlist.h index 1f3f45212..443ede574 100644 --- a/py/objlist.h +++ b/py/objlist.h @@ -35,6 +35,4 @@ typedef struct _mp_obj_list_t { mp_obj_t *items; } mp_obj_list_t; -mp_obj_t mp_obj_new_list_maybe(mp_uint_t n); - #endif // __MICROPY_INCLUDED_PY_OBJLIST_H__ |
