diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-24 14:32:40 -0800 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-24 14:32:40 -0800 |
commit | ceb87835fe24873cd8b2f7d1d3d88cb6144e33b8 (patch) | |
tree | be3e0b2da874ab98f98a4fd756ff8534f74b5b6d /py/emit.h | |
parent | 4461970da027ce16b41189f75257239f46a3b087 (diff) | |
parent | f46d87a30d09bfa904c2b9769ea52271abb86b0c (diff) | |
download | micropython-ceb87835fe24873cd8b2f7d1d3d88cb6144e33b8.tar.gz micropython-ceb87835fe24873cd8b2f7d1d3d88cb6144e33b8.zip |
Merge pull request #217 from pfalcon/free-emitter
Add support for freeing code emitter objects at the end of compilation.
Diffstat (limited to 'py/emit.h')
-rw-r--r-- | py/emit.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -17,6 +17,8 @@ typedef enum { typedef struct _emit_t emit_t; typedef struct _emit_method_table_t { + void (*free)(emit_t *emit); + void (*set_native_types)(emit_t *emit, bool do_native_types); void (*start_pass)(emit_t *emit, pass_kind_t pass, scope_t *scope); void (*end_pass)(emit_t *emit); |