[3.x] Fix c# Array.Shuffle incorrect mono bindings
(cherry picked from commit bdcb1ff228
)
This commit is contained in:
parent
3898521246
commit
0ac86df6d4
|
@ -326,7 +326,7 @@ namespace Godot.Collections
|
||||||
internal static extern Error godot_icall_Array_Resize(IntPtr ptr, int newSize);
|
internal static extern Error godot_icall_Array_Resize(IntPtr ptr, int newSize);
|
||||||
|
|
||||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||||
internal static extern Error godot_icall_Array_Shuffle(IntPtr ptr);
|
internal static extern void godot_icall_Array_Shuffle(IntPtr ptr);
|
||||||
|
|
||||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||||
internal static extern void godot_icall_Array_Generic_GetElementTypeInfo(Type elemType, out int elemTypeEncoding, out IntPtr elemTypeClass);
|
internal static extern void godot_icall_Array_Generic_GetElementTypeInfo(Type elemType, out int elemTypeEncoding, out IntPtr elemTypeClass);
|
||||||
|
|
|
@ -71,6 +71,8 @@ void godot_icall_Array_RemoveAt(Array *ptr, int index);
|
||||||
|
|
||||||
int32_t godot_icall_Array_Resize(Array *ptr, int new_size);
|
int32_t godot_icall_Array_Resize(Array *ptr, int new_size);
|
||||||
|
|
||||||
|
void godot_icall_Array_Shuffle(Array *ptr);
|
||||||
|
|
||||||
void godot_icall_Array_Generic_GetElementTypeInfo(MonoReflectionType *refltype, uint32_t *type_encoding, GDMonoClass **type_class);
|
void godot_icall_Array_Generic_GetElementTypeInfo(MonoReflectionType *refltype, uint32_t *type_encoding, GDMonoClass **type_class);
|
||||||
|
|
||||||
MonoString *godot_icall_Array_ToString(Array *ptr);
|
MonoString *godot_icall_Array_ToString(Array *ptr);
|
||||||
|
|
Loading…
Reference in New Issue