>> 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.

OK.  What about passing `__LINE__` then?


    Werner

Reply via email to