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
..
2020-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2020-10-01 01:20:13 -07:00
2020-12-27 17:18:44 -08:00
2020-10-27 03:39:46 -07:00
2021-03-07 20:23:29 -08:00
2020-10-19 06:38:31 -07:00
2020-12-27 17:18:44 -08:00
2020-12-27 07:02:35 -08:00
2020-12-27 17:18:44 -08:00
2020-09-14 00:02:34 -07:00
2021-02-25 18:33:33 -08:00
2020-09-14 00:02:34 -07:00
2020-12-27 17:18:44 -08:00
2020-08-29 23:51:09 -07:00
2020-12-27 17:18:44 -08:00
2021-03-01 00:18:23 -08:00
2020-11-02 19:12:47 -08:00
2021-02-02 22:17:53 -08:00
2020-08-31 05:17:31 -07:00
2021-03-01 00:18:23 -08:00
2020-09-28 01:20:34 -07:00
2020-12-27 17:18:44 -08:00
2020-09-14 00:02:34 -07:00
2021-03-01 00:18:23 -08:00
2020-09-14 00:02:34 -07:00
2021-03-07 20:23:29 -08:00
2021-03-01 00:18:23 -08:00
2020-10-05 23:11:49 -07:00
2021-03-01 00:18:23 -08:00
2020-10-27 03:39:46 -07:00
2021-03-01 00:18:23 -08:00
2021-03-06 14:36:44 -08:00
2020-12-27 17:18:44 -08:00
2021-02-25 18:33:33 -08:00
2020-12-27 17:18:44 -08:00
2020-08-29 23:51:09 -07: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-02-03 13:50:08 -05:00
2020-10-19 06:38:31 -07:00
2021-03-01 00:18:23 -08:00
2020-12-27 17:18:44 -08:00
2021-02-03 13:50:08 -05:00
2020-12-27 17:18:44 -08:00
2020-10-27 03:39:46 -07:00
2021-03-03 09:21:27 -08:00
2020-09-14 00:02:34 -07:00
2020-12-27 17:18:44 -08:00
2020-09-28 01:20:34 -07:00
2021-03-01 00:18:23 -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-08-25 04:43:42 -07:00
2020-12-27 17:18:44 -08:00
2021-03-01 00:18:23 -08:00
2021-02-09 02:57:32 -08:00
2021-02-03 13:50:08 -05:00
2021-02-19 17:16:17 -08:00
2021-02-19 17:16:17 -08:00
2021-03-06 14:36:44 -08:00
2020-09-14 00:02:34 -07:00
2021-03-01 00:18:23 -08:00
2021-03-03 13:09:06 -08:00
2021-03-01 00:18:23 -08:00
2020-09-14 00:02:34 -07:00
2021-03-03 13:09:06 -08:00
2021-03-03 13:09:06 -08:00
2020-12-27 17:18:44 -08:00
2021-03-01 00:18:23 -08:00
2021-02-27 10:33:32 -08:00
2021-02-27 10:33:32 -08:00
2020-12-27 17:18:44 -08:00
2020-10-27 03:39:46 -07:00
2021-03-01 00:18:23 -08:00
2020-10-27 03:39:46 -07:00
2021-03-07 20:23:29 -08:00
2021-02-03 13:50:08 -05:00
2020-12-27 17:18:44 -08:00
2020-11-07 00:05:25 -08:00
2021-03-06 14:36:44 -08:00
2021-03-01 00:18:23 -08:00
2020-10-27 03:39:46 -07:00
2021-03-03 13:09:06 -08:00
2021-03-01 00:18:23 -08:00
2020-09-28 01:20:34 -07:00
2021-03-01 00:18:23 -08:00
2020-12-06 16:20:21 -08:00
2020-12-27 17:18:44 -08:00
2020-09-14 00:02:34 -07:00
2021-03-01 00:18:23 -08:00
2020-11-02 19:12:47 -08:00
2020-12-27 17:18:44 -08:00
2020-10-27 03:39:46 -07:00
2021-03-01 00:18:23 -08:00
2020-09-14 00:02:34 -07:00
2021-03-07 20:23:29 -08:00
2020-09-14 00:02:34 -07:00
2021-03-08 10:59:34 -08:00
2020-12-06 16:20:21 -08:00
2020-12-27 17:18:44 -08:00
2020-11-02 19:12:47 -08:00
2020-12-27 17:18:44 -08:00
2020-08-31 05:17:31 -07: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-11-06 20:20:10 -08:00