From f46d87a30d09bfa904c2b9769ea52271abb86b0c Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 24 Jan 2014 16:20:11 +0200 Subject: Add support for freeing code emitter objects at the end of compilation. --- py/emit.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'py/emit.h') diff --git a/py/emit.h b/py/emit.h index 309d4740b9..c4d38530cd 100644 --- a/py/emit.h +++ b/py/emit.h @@ -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); -- cgit v1.2.3