Updated the SegmentedPool to allow for zeroing of allocations and for returning a pointer to allocated memory to allow for use in unsafe structs

This commit is contained in:
Jim
2025-11-24 20:50:25 +00:00
parent dfbdf905fe
commit e257f2d3f2
15 changed files with 2788 additions and 674 deletions

View File

@@ -0,0 +1,15 @@
using UnmanagedMMU.Allocators;
namespace UnmanagedMMU.Handles.Internal
{
/// <summary>
/// Interface defining an interface for handle ownership semantics
/// </summary>
internal interface IOwnedHandle: IMemoryHandle
{
/// <summary>
/// Returns the <see cref="IUnmanagedMemoryOwner"/> that created owns this <see cref="IOwnedHandle"/>
/// </summary>
IUnmanagedMemoryOwner GetOwner();
}
}