diff options
author | RedworkDE <10944644+RedworkDE@users.noreply.github.com> | 2023-02-16 11:25:47 +0100 |
---|---|---|
committer | RedworkDE <10944644+RedworkDE@users.noreply.github.com> | 2023-02-16 11:25:47 +0100 |
commit | fce8a05b58a764a61fd796c606cb0fca4b984b2c (patch) | |
tree | c9387fee1e92b7f1aec30e2e6a3ddb31341f028a | |
parent | d2b1474da79a4dce5c2031b3a3fafe8aaa2a161f (diff) |
C#: Fix internal source generator on the 7.0.200 SDK
-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); |