Version: 2018.2

DisposeSentinel.Create(IntPtr,Allocator,AtomicSafetyHandle,DisposeSentinel,int,DeallocateDelegate)

Switch to Manual

Parameters

ptrMemory pointer.
labelAllocator.
safetySafety handle.
sentinelResulting sentinel.
callSiteStackDepthCall site stack depth.
deallocateDelegateDeallocate delegate.

Description

Create sentinel.

Sentinel will be null if NativeLeakDetection equals NativeLeakDetectionMode.Disabled.