summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime_utils.c
Commit message (Collapse)AuthorAge
* py: mp_call_function_*_protected(): Pass-thru return value if possible.Paul Sokolovsky2017-12-05
| | | | | | Return the result of called function. If exception happened, return MP_OBJ_NULL. Allows to use mp_call_function_*_protected() with callbacks returning values, etc.
* all: Remove inclusion of internal py header files.Damien George2017-10-04
| | | | | | | | | | | | | | | | Header files that are considered internal to the py core and should not normally be included directly are: py/nlr.h - internal nlr configuration and declarations py/bc0.h - contains bytecode macro definitions py/runtime0.h - contains basic runtime enums Instead, the top-level header files to include are one of: py/obj.h - includes runtime0.h and defines everything to use the mp_obj_t type py/runtime.h - includes mpstate.h and hence nlr.h, obj.h, runtime0.h, and defines everything to use the general runtime support functions Additional, specific headers (eg py/objlist.h) can be included if needed.
* all: Use the name MicroPython consistently in commentsAlexander Steffen2017-07-31
| | | | | There were several different spellings of MicroPython present in comments, when there should be only one.
* py/runtime_utils: Fix nanbox build.Paul Sokolovsky2016-04-25
|
* py: Move call_function_*_protected() functions to py/ for reuse.Paul Sokolovsky2016-04-25
They almost certainly needed by any C code which calls Python callbacks.