summaryrefslogtreecommitdiffstatshomepage
path: root/py/nlrsetjmp.c
Commit message (Collapse)AuthorAge
* 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/nlrsetjmp: Add check for failed NLR jump.Damien George2017-04-12
| | | | | Also optimise the function so it only needs to call the MP_STATE_THREAD macro once (following how other nlr code is written).
* py/nlrsetjmp: Update to take into account new location of nlr_top.Damien George2016-06-28
| | | | It's now accessed via the MP_STATE_THREAD macro.
* py: Put all global state together in state structures.Damien George2015-01-07
| | | | | | This patch consolidates all global variables in py/ core into one place, in a global structure. Root pointers are all located together to make GC tracing easier and more efficient.
* py: Move global variable nlr_top to one place, in a .c file.Damien George2015-01-01
| | | | | This reduces dependency on assembler, and allows to consolidate global variables in the future.
* py: Move to guarded includes, everywhere in py/ core.Damien George2015-01-01
| | | | Addresses issue #1022.
* Add license header to (almost) all files.Damien George2014-05-03
| | | | | | | Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
* py, unix: Make "mpconfig.h" be first included, as other headers depend on it.Paul Sokolovsky2014-05-02
| | | | Specifically, nlr.h does.
* nlr: Add implementation using setjmp/longjmp.Paul Sokolovsky2014-04-17
Having an optimized asm implementation is good, but if we want portability, that's it.