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-03-07 20:23:29 -08:00
2020-12-27 17:18:44 -08:00
2021-03-07 20:23:29 -08:00
2021-03-05 06:09:12 -08:00
2020-12-27 17:18:44 -08:00
2020-12-27 17:18:44 -08:00
2020-12-27 17:18:44 -08:00
2021-03-07 20:23:29 -08:00
2021-03-01 00:18:23 -08:00
2021-03-07 20:23:29 -08:00
2021-03-07 20:23:29 -08:00
2021-03-01 00:18:23 -08:00
2021-03-07 20:23:29 -08:00
2021-03-07 20:23:29 -08:00
2021-03-07 20:23:29 -08:00
2020-12-27 17:18:44 -08:00
2021-03-01 00:18:23 -08:00
2021-03-07 20:23:29 -08:00
2021-03-01 00:18:23 -08:00
2020-12-27 17:18:44 -08:00
2021-03-07 20:23:29 -08:00
2021-03-07 20:23:29 -08:00
2021-03-01 00:18:23 -08:00
2020-12-27 17:18:44 -08:00
2021-03-08 10:59:34 -08:00
2020-12-27 17:18:44 -08:00
2021-03-01 00:18:23 -08:00
2021-03-01 00:18:23 -08:00
2020-12-27 17:18:44 -08:00
2021-03-07 20:23:29 -08:00
2021-03-01 00:18:23 -08:00
2021-03-01 00:18:23 -08:00
2021-02-02 22:17:53 -08:00
2020-12-27 17:18:44 -08:00
2021-03-01 00:18:23 -08:00
2021-03-01 00:18:23 -08:00
2021-02-01 03:58:46 -08:00
2020-12-27 17:18:44 -08:00