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: Sun, 19 Jul 2020 08:46:55 +0530

> 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? If there is anything else I need to change
please let me know.

Thanks,
Anuj

reply via email to

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