Files
cosmopolitan/libc/nexgen32e
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
..
2021-02-06 00:29:09 -08:00
2021-03-04 13:22:32 -08:00
2021-03-04 13:22:32 -08:00
2020-06-15 07:18:57 -07:00
2020-12-06 16:20:21 -08:00
2020-12-06 16:20:21 -08:00
2021-02-06 00:29:09 -08:00
2020-12-26 02:09:07 -08:00
2020-12-26 02:09:07 -08:00
2020-06-15 07:18:57 -07:00
2021-02-08 04:04:42 -08:00
2020-06-15 07:18:57 -07:00
2020-12-01 03:43:40 -08:00
2020-06-15 07:18:57 -07:00
2020-06-15 07:18:57 -07:00
2020-08-25 04:43:42 -07:00
2020-06-15 07:18:57 -07:00
2021-02-21 21:33:04 -08:00
2020-06-15 07:18:57 -07:00
2021-02-08 04:04:42 -08:00