Alloc wrappers
I've wrapped both calloc
and malloc
in macros that provide a uniform interface with automatic casting to avoid type warnings.
I left the things that were malloc
as U_TYPED_MALLOC
, etc. since I assume that was chosen intentionally over calloc
, but since it's only in the compositor, it may have simply been a style difference, in which case they might benefit from being switch to calloc
.