This may sound confusing, but how can you pass MULTIPLE ARGUMENTS in one ARGUMENT.
What I’ve tried is the following:
#define CALL(v, look, param, expect) v(param){look(expect);}
Example when using it (Doesn’t work):
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...
So is basic words, how can i pass multiple arguments in one argument, without screwing it up…
Thank You
I would advise against this technique.