namespace UnmanagedMMU.Allocators { /// /// Interface that defines an Unmanaged allocator /// internal unsafe interface IUnmanagedAllocator { /// /// Allocates an unmanaged memory block of the specified size. /// /// The number of bytes to allocate. /// /// A pointer to the beginning of the allocated memory block,. /// void* Alloc(nuint size); /// /// Frees a previously allocated unmanaged memory block. /// /// A pointer to the beginning of the memory block to free. void Free(void* ptr); } }