Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1592,8 +1592,8 @@ private string GetTypeNameForPointeeType(Cursor cursor, Cursor context, Type poi
}
else
{
name = GetTypeName(cursor, context, pointeeType, out nativePointeeTypeName);
name = GetRemappedName(name, cursor, tryRemapOperatorName: false);
// Otherwise fields that point at anonymous structs get the wrong name
name = GetRemappedTypeName(cursor, context, pointeeType, out nativePointeeTypeName);
name += '*';
}

Expand Down