summaryrefslogtreecommitdiff
path: root/py/builtin.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-09-12 16:03:52 +1000
committerDamien George <damien.p.george@gmail.com>2017-09-12 16:03:52 +1000
commitda8c4c2653b5121070f8c2872aead79d67d28441 (patch)
treeaad167f3cb5ba4234a00685e972e8ad0fa5eeb8b /py/builtin.h
parentb02be234e1981d42fc890bac5cc7cf3b7e05dfa8 (diff)
py/builtinhelp: Change signature of help text var from pointer to array.
As a pointer (const char *) it takes up an extra word of storage which is in RAM.
Diffstat (limited to 'py/builtin.h')
-rw-r--r--py/builtin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/builtin.h b/py/builtin.h
index a637b6e22..84b99a8a4 100644
--- a/py/builtin.h
+++ b/py/builtin.h
@@ -118,6 +118,6 @@ extern const mp_obj_module_t mp_module_webrepl;
extern const mp_obj_module_t mp_module_framebuf;
extern const mp_obj_module_t mp_module_btree;
-extern const char *MICROPY_PY_BUILTINS_HELP_TEXT;
+extern const char MICROPY_PY_BUILTINS_HELP_TEXT[];
#endif // MICROPY_INCLUDED_PY_BUILTIN_H