1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Move modules/mono/glue/cs_files to modules/mono/glue/Managed/Files

Added dummy MSBuild project and solution to get tooling help when editing these files.
This commit is contained in:
Ignacio Etcheverry
2018-09-12 21:22:43 +02:00
parent 5e57beebb1
commit 995a40e8ef
45 changed files with 181 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
using System;
using System.Runtime.CompilerServices;
namespace Godot
{
public partial class Object
{
public static bool IsInstanceValid(Object instance)
{
return instance != null && instance.NativeInstance != IntPtr.Zero;
}
public static WeakRef WeakRef(Object obj)
{
return godot_icall_Object_weakref(Object.GetPtr(obj));
}
[MethodImpl(MethodImplOptions.InternalCall)]
internal extern static WeakRef godot_icall_Object_weakref(IntPtr obj);
}
}