summaryrefslogtreecommitdiffstatshomepage
path: root/py/objattrtuple.c
Commit message (Collapse)AuthorAge
* all: Use the name MicroPython consistently in commentsAlexander Steffen2017-07-31
| | | | | There were several different spellings of MicroPython present in comments, when there should be only one.
* py/objtuple: Convert mp_uint_t to size_t where appropriate.Damien George2017-02-16
|
* py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George2015-11-29
| | | | | | | | | This allows the mp_obj_t type to be configured to something other than a pointer-sized primitive type. This patch also includes additional changes to allow the code to compile when sizeof(mp_uint_t) != sizeof(void*), such as using size_t instead of mp_uint_t, and various casts.
* py: Fix attrtuple array length in print and creation.Damien George2015-04-29
|
* py: In attrtuple use the correct length value and index for 'fields'.Daniel Campora2015-04-29
|
* py: Add attrtuple object, for space-efficient tuples with attr access.Damien George2015-04-21
If you need the functionality of a namedtuple but will only make 1 or a few instances, then use an attrtuple instead.