summaryrefslogtreecommitdiffstatshomepage
path: root/py/nlrsetjmp.c
Commit message (Collapse)AuthorAge
* 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.