Explorar o código

Mono: Makes GD.Convert take Variant.Type instead of int

ForLoveOfCats %!s(int64=6) %!d(string=hai) anos
pai
achega
46e79e6fad
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      modules/mono/glue/Managed/Files/GD.cs

+ 2 - 2
modules/mono/glue/Managed/Files/GD.cs

@@ -18,7 +18,7 @@ namespace Godot
             return godot_icall_GD_bytes2var(bytes, allow_objects);
         }
 
-        public static object Convert(object what, int type)
+        public static object Convert(object what, Variant.Type type)
         {
             return godot_icall_GD_convert(what, type);
         }
@@ -200,7 +200,7 @@ namespace Godot
         internal extern static object godot_icall_GD_bytes2var(byte[] bytes, bool allow_objects);
 
         [MethodImpl(MethodImplOptions.InternalCall)]
-        internal extern static object godot_icall_GD_convert(object what, int type);
+        internal extern static object godot_icall_GD_convert(object what, Variant.Type type);
 
         [MethodImpl(MethodImplOptions.InternalCall)]
         internal extern static int godot_icall_GD_hash(object var);