cosmopolitan/test/libc/release
Justine Tunney 33e8fc8687 Expose public garbage collector API for C language
You can now do epic things like this:

    puts(_gc(xasprintf("%d", 123)));

The _gc() API is shorthand for _defer() which works like Go's keyword:

    const char *s = xasprintf("%d", 123);
    _defer(free, s);
    puts(s);

Be sure to always use -fno-omit-frame-pointer which makes code fast too.

Enjoy! See also #114
2021-03-08 10:59:34 -08:00
..
clang.sh Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
emulate.sh Generate ZIP files the same way as Windows 2021-03-01 06:24:11 -08:00
metal.sh Generate ZIP files the same way as Windows 2021-03-01 06:24:11 -08:00
smoke.c Expose public garbage collector API for C language 2021-03-08 10:59:34 -08:00
smokecxx.cc Fix cosmopolitan.h for C++ 2021-02-01 04:04:44 -08:00
test.mk Change release process to use default mode 2021-03-03 13:47:22 -08:00