module builtin #define GC_THREADS 1 $if windows { #flag -I@VROOT/thirdparty/libgc/include #flag -L@VROOT/thirdparty/libgc } #include #flag -lgc fn C.GC_MALLOC(n size_t) voidptr fn C.GC_REALLOC(ptr voidptr, n size_t) voidptr fn C.GC_FREE(ptr voidptr)