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-25 18:33:33 -08:00
2021-03-01 00:18:23 -08:00
2021-02-24 00:53:24 -08:00
2021-02-03 06:25:27 -08:00
2021-03-01 00:18:23 -08:00
2020-12-27 17:18:44 -08:00
2021-03-01 00:18:23 -08:00
2020-06-15 07:18:57 -07:00
2020-12-27 17:18:44 -08:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07: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-01 00:18:23 -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-01 00:18:23 -08:00
2021-03-01 00:18:23 -08:00
2021-02-24 00:53:24 -08:00
2021-02-24 00:53:24 -08:00
2021-03-01 00:18:23 -08:00
2021-02-24 00:53:24 -08:00
2021-03-01 00:18:23 -08:00
2021-02-24 00:53:24 -08:00
2021-02-27 10:33:32 -08:00
2021-02-27 12:53:51 -08:00
2021-03-01 00:18:23 -08:00
2020-12-27 07:02:35 -08:00
2021-03-01 00:18:23 -08:00
2021-03-01 00:18:23 -08:00
2021-02-03 06:25:27 -08:00
2021-03-01 00:18:23 -08:00
2021-02-07 07:02:46 -08:00
2021-03-01 00:18:23 -08:00
2021-03-08 10:59:34 -08:00
2021-03-01 00:18:23 -08:00
2021-03-01 00:18:23 -08:00
2021-03-01 00:18:23 -08:00
2021-03-08 10:59:34 -08:00
2021-03-08 10:59:34 -08:00
2021-03-01 00:18:23 -08:00
2021-02-03 06:25:27 -08:00
2021-03-01 00:18:23 -08:00
2021-03-08 10:59:34 -08:00
2021-02-09 02:57:32 -08:00
2021-03-01 00:18:23 -08:00
2021-02-27 12:53:51 -08:00
2021-03-01 00:18:23 -08:00
2020-06-15 07:18:57 -07: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-01-27 19:34:02 -08:00
2020-12-27 17:18:44 -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-03 06:25:27 -08:00
2021-02-24 00:53:24 -08:00
2021-02-24 00:53:24 -08:00
2021-03-02 01:13:32 -08:00
2021-02-24 00:53:24 -08:00
2021-03-01 00:18:23 -08:00
2020-12-27 17:18:44 -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-24 00:53:24 -08:00
2021-03-01 00:18:23 -08:00
2020-12-27 17:18:44 -08:00
2021-02-25 18:33:33 -08:00
2021-03-08 10:59:34 -08:00
2021-03-08 10:59:34 -08:00
2021-03-05 10:31:16 -08:00
2021-03-01 00:18:23 -08:00
2021-03-01 00:18:23 -08:00
2021-01-27 19:34:02 -08:00
2021-03-08 10:59:34 -08:00
2021-02-27 10:33:32 -08:00
2021-03-01 00:18:23 -08:00
2021-03-08 10:59:34 -08:00
2020-12-27 17:18:44 -08:00
2021-02-02 11:14:45 -05:00
2021-02-09 02:57:32 -08:00
2020-12-27 17:18:44 -08:00
2020-08-25 04:43:42 -07:00
2021-03-01 00:18:23 -08:00
2021-03-01 00:18:23 -08:00
2020-12-27 17:05:03 -08:00
2021-03-01 00:18:23 -08:00
2021-03-08 10:59:34 -08:00
2021-03-01 00:18:23 -08:00