xserver/miext/damage
Enrico Weigelt, metux IT consult d819be0df9 miext: replace xallocarray() by calloc()
Only key difference that calloc(), in contrast to rellocarray(),
is zero-initializing. The overhead is hard to measure on today's
machines, and it's safer programming practise to always allocate
zero-initialized, so one can't forget to do it explicitly.

Cocci rule:

    @@
    expression COUNT;
    expression LEN;
    @@
    - xallocarray(COUNT,LEN)
    + calloc(COUNT,LEN)

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-02 17:37:14 +00:00
..
damage.c miext: replace xallocarray() by calloc() 2025-04-02 17:37:14 +00:00
damage.h damage: Remove "post-rendering" hooks 2013-09-10 14:28:53 -04:00
damagestr.h dix: Remove PRIVATE_DAMAGE 2017-03-21 11:20:26 -04:00
meson.build meson: hide C API if Xorg is disabled (like autotools) 2021-03-11 00:22:36 +00:00