aboutsummaryrefslogtreecommitdiff
path: root/py/emitglue.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-29 11:39:36 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-29 11:39:36 +0000
commitd1e443d0bc073c55ffab880292f3b645ed37a029 (patch)
treed8992d871548e0b773c02ced45b72ad8be6cc96f /py/emitglue.h
parent682f9e639d140849a5b33aecb74e2e2cb2c6ee77 (diff)
py: Free unique_code slot for outer module.
Partly (very partly!) addresses issue #386. Most importantly, at the REPL command line, each invocation does not now lead to increased memory usage (unless you define a function/lambda).
Diffstat (limited to 'py/emitglue.h')
-rw-r--r--py/emitglue.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/py/emitglue.h b/py/emitglue.h
index e06578e22..8f69951c2 100644
--- a/py/emitglue.h
+++ b/py/emitglue.h
@@ -3,7 +3,6 @@
void mp_emit_glue_init(void);
void mp_emit_glue_deinit(void);
uint mp_emit_glue_get_unique_code_id(void);
-uint mp_emit_glue_get_unique_code(uint unique_code_id);
void mp_emit_glue_assign_byte_code(uint unique_code_id, byte *code, uint len, int n_args, int n_locals, uint scope_flags, qstr *arg_names);
void mp_emit_glue_assign_native_code(uint unique_code_id, void *f, uint len, int n_args);
void mp_emit_glue_assign_inline_asm_code(uint unique_code_id, void *f, uint len, int n_args);