summaryrefslogtreecommitdiff
path: root/minimal
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-08-21 21:34:23 +1000
committerDamien George <damien.p.george@gmail.com>2017-08-21 21:34:23 +1000
commit4ec803a42ae3080d4af959c7c2edf81e57f79377 (patch)
tree9ca889389b8087b3474d8a9eb855963a3ca07859 /minimal
parent4c736ea8fc046dc564f9167967a5dd92f07ed002 (diff)
all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.
Diffstat (limited to 'minimal')
-rw-r--r--minimal/mpconfigport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/minimal/mpconfigport.h b/minimal/mpconfigport.h
index ce4f8f240..8744ca950 100644
--- a/minimal/mpconfigport.h
+++ b/minimal/mpconfigport.h
@@ -74,7 +74,7 @@ typedef long mp_off_t;
// extra built in names to add to the global namespace
#define MICROPY_PORT_BUILTINS \
- { MP_OBJ_NEW_QSTR(MP_QSTR_open), (mp_obj_t)&mp_builtin_open_obj },
+ { MP_ROM_QSTR(MP_QSTR_open), MP_ROM_PTR(&mp_builtin_open_obj) },
// We need to provide a declaration/definition of alloca()
#include <alloca.h>