shrub/include/c
Jōshin 67c0b7b39b Clean up allocator defs
- Condense the allocator section in defs.h and make it match the
  surrounding style.

- Use real calloc in c3_calloc. Some guy on the internet says
  calloc can be faster than malloc since the OS may not actually
  need to call memset.

- Replace calloc calls in vere code with c3_calloc.

Note that I left the c3_calloc definition as-is (i.e., not taking
a count argument). I was going to change it, but it seems like
count is 1 at all call sites. If it's ever used with count != 1,
I'd be in support of changing it, fwiw.
2019-01-02 11:23:06 -08:00
..
defs.h Clean up allocator defs 2019-01-02 11:23:06 -08:00
motes.h single-home arvo with %whom 2018-12-05 16:02:43 -05:00
portable.h Fixes the build on OpenBSD 2018-12-14 22:51:02 +00:00
types.h descriptive names for c files 2015-06-23 21:29:11 -04:00