Browse Source

Implement const-qualified printing of CIL strings.

pull/696/head
Joao Matos 10 years ago
parent
commit
da10dd7046
  1. 2
      src/AST/CppTypePrinter.cs

2
src/AST/CppTypePrinter.cs

@ -216,7 +216,7 @@ namespace CppSharp.AST @@ -216,7 +216,7 @@ namespace CppSharp.AST
public string VisitCILType(CILType type, TypeQualifiers quals)
{
if (type.Type == typeof(string))
return "char*";
return quals.IsConst ? "const char*" : "char*";
throw new NotImplementedException();
}

Loading…
Cancel
Save