diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-16 18:33:16 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-16 18:33:16 +0100 |
commit | 05fd229e77901fa0a6aeee1cc8f62342a6d57a19 (patch) | |
tree | 63e3614735e8e1ed8cdfae04b518a5629eab3868 /modules/mono | |
parent | f9dbbc3d725ed1cfef185ec234489bae454bb687 (diff) | |
parent | fce8a05b58a764a61fd796c606cb0fca4b984b2c (diff) |
Merge pull request #73382 from RedworkDE/net-source-gen-param
C#: Fix internal source generator on the 7.0.200 SDK
Diffstat (limited to 'modules/mono')
-rw-r--r-- | modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/UnmanagedCallbacksGenerator.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/UnmanagedCallbacksGenerator.cs b/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/UnmanagedCallbacksGenerator.cs index 3226ca79e5..6b000cc89b 100644 --- a/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/UnmanagedCallbacksGenerator.cs +++ b/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/UnmanagedCallbacksGenerator.cs @@ -168,7 +168,9 @@ using Godot.NativeInterop; { var parameter = callback.Parameters[i]; - source.Append(parameter.ToDisplayString()); + AppendRefKind(source, parameter.RefKind); + source.Append(' '); + source.Append(parameter.Type.FullQualifiedNameIncludeGlobal()); source.Append(' '); source.Append(parameter.Name); |