Huw Davies (@huw) commented about dlls/win32u/tests/d3dkmt.c:
- {
if (c == '(') n++;
if (!n) break;
if (c == ')') n--;
- }
- if (!strchr( cond - 1, '(' )) return wine_dbg_sprintf( "got %s", cond - 1 );
- return wine_dbg_sprintf( "%.*s returned", (int)strcspn( cond - 1, "( " ), cond - 1 );
+}
+#define ok_ex( r, op, e, t, f, ... ) \
- do \
- { \
t v = (r); \
ok( v op (e), "%s " f "\n", debugstr_ok( #r ), v, ##__VA_ARGS__ ); \
- } while (0)
+#define ok_x4( r, op, e ) ok_ex( r, op, e, UINT, "%#x" )
FWIW, it looks like `ok_x4()` isn't used until the next commit.