Re: [v2 PATCH 1/3] dpnet/test: Add IDirectPlay8Client EnumHost tests
16 Nov
2016
16 Nov
'16
10:49 p.m.
Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> writes:
+static HRESULT lastAsyncCode = E_FAIL; +static DPNHANDLE lastAsyncHandle = 0xdeadbeef; + +#define CHECK_LAST_ASYNC_OP(hr, handle) \ + ok(lastAsyncCode == hr, "got 0x%08x\n", lastAsyncCode); \ + ok(lastAsyncHandle == handle, "got 0x%08x\n", handle); \ + lastAsyncCode = E_FAIL; lastAsyncHandle = 0xdeadbeef;
Please don't define such macros. In this case you should simply spell it out explicitly, it's not a lot of code. -- Alexandre Julliard julliard(a)winehq.org
3317
Age (days ago)
3317
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard