Skip to content

Commit 083bcd8

Browse files
committed
Make sure we use a native type printer for symbols code generation.
1 parent da37afb commit 083bcd8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Generator/Passes/SymbolsCodeGenerator.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ public SymbolsCodeGenerator(BindingContext context, IEnumerable<TranslationUnit>
2121
ScopeKind = TypePrintScopeKind.Qualified,
2222
ResolveTypedefs = true
2323
};
24+
25+
cppTypePrinter.PushContext(TypePrinterContextKind.Native);
2426
}
2527

2628
public override void Process()

0 commit comments

Comments
 (0)