summaryrefslogtreecommitdiffstatshomepage
path: root/py/map.c
Commit message (Collapse)AuthorAge
* Replace global "static" -> "STATIC", to allow "analysis builds". Part 2.Paul Sokolovsky2014-02-12
|
* py: Allow mp_map_t to be initialised by a fixed-size, const table.Damien George2014-02-08
| | | | This allows keyword maps to be created directly from stack data.
* Add mp_map_deinit() & mp_map_free() to finalize maps.Paul Sokolovsky2014-01-25
| | | | mp_map_deinit() finalizes static map, mp_map_free() - dynamic.
* Revamp qstrs: they now include length and hash.Damien George2014-01-21
| | | | | Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h
* Implemented set.removeJohn R. Lenton2014-01-12
|
* Implemented set.discardJohn R. Lenton2014-01-12
|
* Implemented set.clearJohn R. Lenton2014-01-12
|
* py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t.Damien George2014-01-08
|
* Added dict.setdefaultJohn R. Lenton2014-01-07
|
* implemented dict.popJohn R. Lenton2014-01-07
|
* Added dict.clear.John R. Lenton2014-01-07
| | | | Added 0 to the list of primes. Funky primes, these.
* Change memory allocation API to require size for free and realloc.Damien2013-12-29
|
* Change object representation from 1 big union to individual structs.Damien2013-12-21
| | | | | | | | | | A big change. Micro Python objects are allocated as individual structs with the first element being a pointer to the type information (which is itself an object). This scheme follows CPython. Much more flexible, not necessarily slower, uses same heap memory, and can allocate objects statically. Also change name prefix, from py_ to mp_ (mp for Micro Python).
* py: split runtime into map, obj, builtin.Damien2013-12-17