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

(cherry picked from commit 46e79e6fad)
This commit is contained in:
ForLoveOfCats 2019-04-04 16:07:48 -04:00 committed by Rémi Verschelde
parent c94e80a0a3
commit 276cd771f9
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ namespace Godot
return godot_icall_GD_bytes2var(bytes);
}
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);
[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);