diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-04-13 12:52:39 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-04-13 12:52:39 +0100 |
| commit | 640e7e4779d5d6b5e53fa305e5fe824da7783090 (patch) | |
| tree | c299b3caf77aca8923a6fdb5554dd5a27ffc4c4e /py/objlist.h | |
| parent | f95c68e53638aa363797595b0d618bbe08c56bb3 (diff) | |
| parent | 4165cd1c0cfc4eabf446be504787090be84a421b (diff) | |
Merge pull request #476 from pfalcon/static-sys
Convert sys module to static allocation
Diffstat (limited to 'py/objlist.h')
| -rw-r--r-- | py/objlist.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/py/objlist.h b/py/objlist.h new file mode 100644 index 000000000..cc8d7de26 --- /dev/null +++ b/py/objlist.h @@ -0,0 +1,6 @@ +typedef struct _mp_obj_list_t { + mp_obj_base_t base; + machine_uint_t alloc; + machine_uint_t len; + mp_obj_t *items; +} mp_obj_list_t; |
