Skip to content

Commit a2af1b7

Browse files
committed
HotFix: CoMem<T> was externally not available
1 parent 4fdd235 commit a2af1b7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Memory.Extensions/CoMem.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,9 @@ public void Dispose()
4242
#endregion
4343
}
4444

45-
internal sealed unsafe class CoMem<T> : IDisposable where T : unmanaged
45+
public sealed unsafe class CoMem<T> : IDisposable where T : unmanaged
4646
{
4747
public CoMem(T obj) => Ptr = NewAlloc(obj);
48-
4948
public CoMem(T[] arr) => Ptr = AllocFrom(arr);
5049

5150
public T* Ptr;

Memory.Extensions/Memory.Extensions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
88
<PackageId>Yotic.Memory.Extensions</PackageId>
99
<Title>Memory.Extensions</Title>
10-
<Version>1.1.0</Version>
10+
<Version>1.1.1</Version>
1111
<Authors>Yotic</Authors>
1212
<Company></Company>
1313
<Description>Memory utils for convenient work with memory, arrays and pointers</Description>

0 commit comments

Comments
 (0)