Improve console dump with additional information, such as array sizes and variadic function

This commit is contained in:
Lukas Joergensen 2017-12-08 20:50:44 +01:00
parent 74b7e4cd89
commit 08144a1a55
2 changed files with 27 additions and 7 deletions

View file

@ -1607,8 +1607,10 @@ namespace {
if (dStrcmp(nativeType, "char*") == 0 || dStrcmp(nativeType, "char *") == 0)
return "string";
else if (dStrcmp(nativeType, "S32") == 0 || dStrcmp(nativeType, "U32") == 0)
else if (dStrcmp(nativeType, "S32") == 0)
return "int";
else if (dStrcmp(nativeType, "U32") == 0)
return "uint";
else if (dStrcmp(nativeType, "F32") == 0)
return "float";