Skip to content

Commit c9301e1

Browse files
authored
Fixed type mapping of System.Char (#667)
1 parent 2a71fe9 commit c9301e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mdoc/Mono.Documentation/Updater/Formatters/CppFormatters/CppWinRtFullMemberFormatter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected override string GetCppType(string t)
6464
case "System.Single": typeToCompare = "float"; break;
6565
case "System.Double": typeToCompare = "double"; break;
6666
case "System.Boolean": typeToCompare = "bool"; break;
67-
case "System.Char": typeToCompare = "char"; break;
67+
case "System.Char": typeToCompare = "char16_t"; break;
6868
case "System.Void": typeToCompare = "void"; break;
6969

7070
//API specific type is "winrt::hstring"; but c++ in built type is better variant

0 commit comments

Comments
 (0)