[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sdf: revise memory allocation debugging
From: |
Werner LEMBERG |
Subject: |
sdf: revise memory allocation debugging |
Date: |
Fri, 25 Dec 2020 10:36:27 +0100 (CET) |
Anuj,
I think that the memory debugging functions in file `ftsdf.c` can be
greatly simplified. Since `FT_DEBUG_MEMORY` must be defined I can't
see a reason to not use the default FreeType debugging stuff. In
other words, `SDF_ALLOC` and friends can be replaced with `FT_ALLOC`
and friends (more or less).
What do you think? If you agree, could you prepare a patch?
Werner
- sdf: revise memory allocation debugging,
Werner LEMBERG <=