# HG changeset patch # User Paul Boddie # Date 1483744999 -3600 # Node ID 224da90acd50be4f38dba04454a84b44f0ea440e # Parent 45bc0b27d9b9f6a66f1d7e8bc3c8fe475edb11ff Added GC_INIT portability call. diff -r 45bc0b27d9b9 -r 224da90acd50 generator.py --- a/generator.py Sat Jan 07 00:21:04 2017 +0100 +++ b/generator.py Sat Jan 07 00:23:19 2017 +0100 @@ -178,6 +178,7 @@ print >>f_code, """\ #include #include +#include "gc.h" #include "types.h" #include "exceptions.h" #include "ops.h" @@ -1092,6 +1093,8 @@ { __exc __tmp_exc; + GC_INIT(); + __Try {"""