freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [freetype2] anuj-distance-field fdf4191: [sdf] Added memory tracker.


From: Anuj Verma
Subject: Re: [freetype2] anuj-distance-field fdf4191: [sdf] Added memory tracker.
Date: Sat, 18 Jul 2020 16:34:38 +0530

> There should be zero overhead for the non-debugging case.
> Having two versions would also allow to use a function internally so
> that you can (a) avoid the `do {} while (0)` construction, and (b)
> still use the macro within a conditional.

I thought about that, but if we create a function then the memory
dump won't print the actual line number and that might make it
harder to find memory leaks.

Anuj

reply via email to

[Prev in Thread] Current Thread [Next in Thread]