Skip to content

Commit

Permalink
fix "Unhandled PrimitiveKind: Long" in CppPrimitiveType.ToString()
Browse files Browse the repository at this point in the history
  • Loading branch information
Xkein committed May 22, 2024
1 parent 151b9df commit 49dc97b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CppAst/CppPrimitiveType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ public override string ToString()
return "short";
case CppPrimitiveKind.Int:
return "int";
case CppPrimitiveKind.Long:
return "long";
case CppPrimitiveKind.UnsignedLong:
return "unsigned long";
case CppPrimitiveKind.LongLong:
return "long long";
case CppPrimitiveKind.UnsignedChar:
Expand Down

0 comments on commit 49dc97b

Please sign in to comment.