I would like to avoid VFormat code in Debug. Is there way to pass 'any ...' symbol to DebugEx function?
PHP Code:
void Debug(int bit, const char[] format, any ...)
{
// here some code...
// getting value and passing it to another function
static char sFormattedStr[1024];
VFormat(sFormattedStr, sizeof(sFormattedStr), format, 3);
DebugEx(bit, value, sFormattedStr);
}
void DebugEx(int bit, int value, const char[] format, any ...)
{
// do VFormat here!
}
__________________