Example #1
0
 public void AddRange <TValue, TNode>(TValue *copySource, int length, out TNode *page, out int start, Allocator allocator)
     where TValue : unmanaged
     where TNode : unmanaged
 {
     AddRange(copySource, length, out var _page, out start, allocator);
     page = (TNode *)_page;
 }
Example #2
0
 public void Add <TValue, TNode>(ref TValue copySource, out TNode *page, out int index, Allocator allocator)
     where TValue : unmanaged
     where TNode : unmanaged, ILinkedListNode <TValue, TNode>
 {
     Add(ref copySource, out var _page, out index, allocator);
     page = (TNode *)_page;
 }