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

Method NativeFree

Source/Engine/Engine/NativeInterop.cs:171–174  ·  view source on GitHub ↗
(void* ptr)

Source from the content-addressed store, hash-verified

169 }
170
171 internal static void NativeFree(void* ptr)
172 {
173 NativeMemory.AlignedFree(ptr);
174 }
175
176 /// <summary>
177 /// Converts a delegate into a function pointer that is callable from unmanaged code via <see cref="Marshal.GetFunctionPointerForDelegate{TDelegate}"/> but cached <paramref name="d"/> delegate to prevent collecting it by GC.

Callers 3

WrapArrayMethod · 0.80
AllocateMethod · 0.80
FreeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected