public static unsafe void *GetUnsafeReadOnlyPtr <T>(this NativeListArray <T> .NativeList list) where T : unmanaged { #if ENABLE_UNITY_COLLECTIONS_CHECKS AtomicSafetyHandle.CheckReadAndThrow(list.m_Safety); #endif return(list.m_ListData->Ptr); }
public static void *GetInternalListDataPtrUnchecked <T>(ref NativeListArray <T> .NativeList list) where T : unmanaged { return(list.m_ListData); }
public static AtomicSafetyHandle GetAtomicSafetyHandle <T>(ref NativeListArray <T> .NativeList list) where T : unmanaged { return(list.m_Safety); }