Browse Source

Remove this hack now that we have proper type qualifiers support.

pull/1/head
triton 13 years ago
parent
commit
b1c8f187b8
  1. 2
      src/Generator/Generators/CLI/CLITypePrinter.cs

2
src/Generator/Generators/CLI/CLITypePrinter.cs

@ -97,7 +97,7 @@ namespace Cxxi.Generators.CLI
return "System::IntPtr"; return "System::IntPtr";
} }
if (pointee.IsPrimitiveType(PrimitiveType.Char)/* && quals.IsConst*/) if (pointee.IsPrimitiveType(PrimitiveType.Char) && quals.IsConst)
{ {
return "System::String^"; return "System::String^";
} }

Loading…
Cancel
Save