Misha Koshelev <[email protected]> writes:

> +#define VDECL_CHECK(fcall)                              \
> +    if(fcall != S_OK)                                   \
> +        trace(" Test failed on line #%d\n", __LINE__);
> +
> +#define VDECL_CHECK_FAIL(fcall)                         \
> +    if(fcall != E_FAIL)                                 \
> +        trace(" Test failed on line #%d\n", __LINE__);

That's ugly. If the goal is to print the line number, you should pass it
to the test function.

-- 
Alexandre Julliard
[email protected]


Reply via email to