Add variable len args support
This commit is contained in:
parent
7584ce6f48
commit
de7bcdf8cf
|
|
@ -820,6 +820,12 @@ static void GetDataTypeAndName(const char *typeName, int typeNameLen, char *type
|
|||
MemoryCopy(name, typeName + k + 1, typeNameLen - k - 1);
|
||||
break;
|
||||
}
|
||||
else if (typeName[k] == '.' && typeNameLen == 3) // Handle varargs ...);
|
||||
{
|
||||
MemoryCopy(type, "...", 3);
|
||||
MemoryCopy(name, "args", 4);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user