diff options
author | Damien George <damien.p.george@gmail.com> | 2015-04-04 15:53:11 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-04-04 15:53:11 +0100 |
commit | 2801e6fad8b8b3ecdd9c8bc58f9515ff66eca46c (patch) | |
tree | f49a2102931919c96bcde3f1bfa16b0ec8b2e27d /py/map.c | |
parent | 7f59b4b2ca28179c72aa12f35fe59cb14017b5b0 (diff) | |
download | micropython-2801e6fad8b8b3ecdd9c8bc58f9515ff66eca46c.tar.gz micropython-2801e6fad8b8b3ecdd9c8bc58f9515ff66eca46c.zip |
py: Some trivial cosmetic changes, for code style consistency.
Diffstat (limited to 'py/map.c')
-rw-r--r-- | py/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -136,7 +136,7 @@ STATIC void mp_map_rehash(mp_map_t *map) { // - returns slot, with key non-null and value=MP_OBJ_NULL if it was added // MP_MAP_LOOKUP_REMOVE_IF_FOUND behaviour: // - returns NULL if not found, else the slot if was found in with key null and value non-null -mp_map_elem_t* mp_map_lookup(mp_map_t *map, mp_obj_t index, mp_map_lookup_kind_t lookup_kind) { +mp_map_elem_t *mp_map_lookup(mp_map_t *map, mp_obj_t index, mp_map_lookup_kind_t lookup_kind) { // Work out if we can compare just pointers bool compare_only_ptrs = map->all_keys_are_qstrs; |