这可能听起来令人困惑,但是如何在一个 ARGUMENT 中传递 MULTIPLE ARGUMENTS。
我尝试过的是以下内容:
#define CALL(v, look, param, expect) v(param){look(expect);}
使用时的示例(不起作用):
void CALL(InitD3D, engine->InitD3D, (HWND hWnd, bool windowed), (hWnd, windowed))
// Which should give(i want it to):
// void InitD3D(HWND hWnd, bool windowed){engine->InitD3D(hWnd, windowed);}
// But it may give: InitD3D((HWND hWnd, bool windowed)){engine->InitD3D((hWnd, windowed));}
// Or something similar or not...
基本单词也是如此,我怎样才能在一个参数中传递多个参数,而不会搞砸......
谢谢你