2017-01-07 | Paul Boddie | raw files shortlog changelog graph | Added GC_INIT portability call. | |
generator.py (file) |
1.1 --- a/generator.py Sat Jan 07 00:21:04 2017 +0100 1.2 +++ b/generator.py Sat Jan 07 00:23:19 2017 +0100 1.3 @@ -178,6 +178,7 @@ 1.4 print >>f_code, """\ 1.5 #include <string.h> 1.6 #include <stdio.h> 1.7 +#include "gc.h" 1.8 #include "types.h" 1.9 #include "exceptions.h" 1.10 #include "ops.h" 1.11 @@ -1092,6 +1093,8 @@ 1.12 { 1.13 __exc __tmp_exc; 1.14 1.15 + GC_INIT(); 1.16 + 1.17 __Try 1.18 {""" 1.19