Update parser (#2375)
* Add variable len args support * Api Regen for 4.1dev
This commit is contained in:
parent
e9f97e1165
commit
43dbe67431
5 changed files with 1668 additions and 490 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue