فهرست منبع

Fix c# Array.Shuffle incorrect mono bindings

dzil123 2 سال پیش
والد
کامیت
2fd2a16d92
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      modules/mono/glue/GodotSharp/GodotSharp/Core/NativeInterop/NativeFuncs.cs

+ 1 - 1
modules/mono/glue/GodotSharp/GodotSharp/Core/NativeInterop/NativeFuncs.cs

@@ -374,7 +374,7 @@ namespace Godot.NativeInterop
 
 
         public static partial Error godotsharp_array_resize(ref godot_array p_self, int p_new_size);
         public static partial Error godotsharp_array_resize(ref godot_array p_self, int p_new_size);
 
 
-        public static partial Error godotsharp_array_shuffle(ref godot_array p_self);
+        public static partial void godotsharp_array_shuffle(ref godot_array p_self);
 
 
         public static partial void godotsharp_array_to_string(ref godot_array p_self, out godot_string r_str);
         public static partial void godotsharp_array_to_string(ref godot_array p_self, out godot_string r_str);