diff options
Diffstat (limited to 'modules/mono/glue/cs_files/Extensions/ObjectExtensions.cs')
-rw-r--r-- | modules/mono/glue/cs_files/Extensions/ObjectExtensions.cs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/modules/mono/glue/cs_files/Extensions/ObjectExtensions.cs b/modules/mono/glue/cs_files/Extensions/ObjectExtensions.cs deleted file mode 100644 index 9ef0959750..0000000000 --- a/modules/mono/glue/cs_files/Extensions/ObjectExtensions.cs +++ /dev/null @@ -1,21 +0,0 @@ -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); - } -} |