MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Free

Method Free

Source/Engine/Engine/NativeInterop.Managed.cs:339–348  ·  view source on GitHub ↗
(IntPtr ptr)

Source from the content-addressed store, hash-verified

337 }
338
339 [System.Diagnostics.DebuggerStepThrough]
340 public static void Free(IntPtr ptr)
341 {
342 if (ptr == IntPtr.Zero)
343 return;
344 ManagedHandle handle = ManagedHandle.FromIntPtr(ptr);
345 if (handle == EmptyStringHandle)
346 return;
347 handle.Free();
348 }
349 }
350
351 /// <summary>

Callers

nothing calls this directly

Calls 2

FromIntPtrMethod · 0.80
FreeMethod · 0.45

Tested by

no test coverage detected