[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [freetype2] anuj-distance-field fdf4191: [sdf] Added memory tracker.
From: |
Werner LEMBERG |
Subject: |
Re: [freetype2] anuj-distance-field fdf4191: [sdf] Added memory tracker. |
Date: |
Sun, 19 Jul 2020 09:36:43 +0200 (CEST) |
>> OK. What about passing `__LINE__` then?
>
> Alright, I have done the relevant changes, to pass
> line through a function parameter I had to change
> `FT_DEBUG_INNER' and `FT_ASSIGNP_INNER'
> macros like this:
> ```
> #define FT_DEBUG_INNER( exp ) ( _ft_debug_file = __FILE__, \
> _ft_debug_lineno = line, \
> (exp) )
>
> #define FT_ASSIGNP_INNER( p, exp ) ( _ft_debug_file = __FILE__, \
> _ft_debug_lineno = line, \
> FT_ASSIGNP( p, exp ) )
> ```
> Is that okay?
This looks good now, thanks!
Werner