Ah, I wondered if I was pushing the Macro thing too far.
-aric On 11/05/24 5:26, Alexandre Julliard wrote:
Aric Stewart<[email protected]> writes:@@ -297,9 +297,13 @@ static void test_ScriptItemize( void ) test_items_ok(test10,4,&Control,&State,1,t101,FALSE,0); } -static inline void _test_shape_ok(HDC hdc, LPCWSTR string, DWORD cchString, - SCRIPT_CONTROL *Control, SCRIPT_STATE *State, - DWORD item, DWORD nGlyphs, +#define shape_cond_ok(a,b,c...) if (a>0) {winetest_ok(b,c);} else if(!b) {winetest_trace(c);} + +#define shape_cond_skip(a,b...) if (a>0) {winetest_win_skip(b);} else {winetest_trace(b);}You can't do that.
