Browse Source

Use explicit native type printer kind in CLI headers code.

pull/1521/head
Joao Matos 5 years ago committed by João Matos
parent
commit
42fe2b5dfb
  1. 1
      src/Generator/Generators/CLI/CLIHeaders.cs

1
src/Generator/Generators/CLI/CLIHeaders.cs

@ -469,6 +469,7 @@ namespace CppSharp.Generators.CLI @@ -469,6 +469,7 @@ namespace CppSharp.Generators.CLI
if (!@event.IsGenerated) continue;
var cppTypePrinter = new CppTypePrinter(Context);
cppTypePrinter.PushContext(TypePrinterContextKind.Native);
var cppArgs = cppTypePrinter.VisitParameters(@event.Parameters, hasNames: true);
WriteLine("private:");

Loading…
Cancel
Save