diff options
| author | Damien George | 2014-03-24 11:27:56 +0000 |
|---|---|---|
| committer | Damien George | 2014-03-24 11:27:56 +0000 |
| commit | 5fd2ebbbdddeb01d6357d51b8fef41753644ece0 (patch) | |
| tree | 37d192e108c4a085052f7632b1b1cf41b6be227b /stmhal/mpconfigport.h | |
| parent | 24ff063e8056703f9e01d0d37a58e8e707f7d46d (diff) | |
stmhal: Update help function.
Diffstat (limited to 'stmhal/mpconfigport.h')
| -rw-r--r-- | stmhal/mpconfigport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h index 59c91942a..edaee6315 100644 --- a/stmhal/mpconfigport.h +++ b/stmhal/mpconfigport.h @@ -19,9 +19,11 @@ #define MICROPY_LFN_CODE_PAGE (437) /* 1=SFN/ANSI 437=LFN/U.S.(OEM) */ // extra built in names to add to the global namespace +extern const struct _mp_obj_fun_native_t mp_builtin_help_obj; extern const struct _mp_obj_fun_native_t mp_builtin_input_obj; extern const struct _mp_obj_fun_native_t mp_builtin_open_obj; #define MICROPY_EXTRA_BUILTINS \ + { MP_QSTR_help, (mp_obj_t)&mp_builtin_help_obj }, \ { MP_QSTR_input, (mp_obj_t)&mp_builtin_input_obj }, \ { MP_QSTR_open, (mp_obj_t)&mp_builtin_open_obj }, |
