Skip to content

Commit f4f7fbf

Browse files
AJMansfielddpgeorge
authored andcommitted
py/obj: Remove unused map new/free function declarations.
These functions were removed in 6c9fca2 for v1.9.3. This commit removes their declarations as well. See-also: 6c9fca2 Signed-off-by: Anson Mansfield <amansfield@mantaro.com>
1 parent 54787dc commit f4f7fbf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

py/obj.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,9 +502,7 @@ static inline bool mp_map_slot_is_filled(const mp_map_t *map, size_t pos) {
502502

503503
void mp_map_init(mp_map_t *map, size_t n);
504504
void mp_map_init_fixed_table(mp_map_t *map, size_t n, const mp_obj_t *table);
505-
mp_map_t *mp_map_new(size_t n);
506505
void mp_map_deinit(mp_map_t *map);
507-
void mp_map_free(mp_map_t *map);
508506
mp_map_elem_t *mp_map_lookup(mp_map_t *map, mp_obj_t index, mp_map_lookup_kind_t lookup_kind);
509507
void mp_map_clear(mp_map_t *map);
510508
void mp_map_dump(mp_map_t *map);

0 commit comments

Comments
 (0)