Skip to content

Commit 42fe2b5

Browse files
committed
Use explicit native type printer kind in CLI headers code.
1 parent f3830b0 commit 42fe2b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Generator/Generators/CLI/CLIHeaders.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ public void GenerateClassEvents(Class @class)
469469
if (!@event.IsGenerated) continue;
470470

471471
var cppTypePrinter = new CppTypePrinter(Context);
472+
cppTypePrinter.PushContext(TypePrinterContextKind.Native);
472473
var cppArgs = cppTypePrinter.VisitParameters(@event.Parameters, hasNames: true);
473474

474475
WriteLine("private:");

0 commit comments

Comments
 (0)