mirror of https://github.com/dahall/Vanara.git
Changed ISimpleMemoryMethods.Allocs to public
parent
57e6ca380c
commit
06c7284269
|
@ -179,7 +179,7 @@ namespace Vanara.InteropServices
|
||||||
|
|
||||||
/// <summary>Gets a value indicating whether <see cref="AllocMem(int)"/> zeroes memory before returning.</summary>
|
/// <summary>Gets a value indicating whether <see cref="AllocMem(int)"/> zeroes memory before returning.</summary>
|
||||||
/// <value><see langword="true"/> if <see cref="AllocMem(int)"/> zeroes memory before returning; otherwise, <see langword="false"/>.</value>
|
/// <value><see langword="true"/> if <see cref="AllocMem(int)"/> zeroes memory before returning; otherwise, <see langword="false"/>.</value>
|
||||||
bool AllocZeroes => false;
|
bool AllocZeroes { get; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Implementation of <see cref="IMemoryMethods"/> using just the methods from <see cref="ISimpleMemoryMethods"/>.</summary>
|
/// <summary>Implementation of <see cref="IMemoryMethods"/> using just the methods from <see cref="ISimpleMemoryMethods"/>.</summary>
|
||||||
|
@ -188,7 +188,7 @@ namespace Vanara.InteropServices
|
||||||
{
|
{
|
||||||
/// <summary>Gets a value indicating whether <see cref="AllocMem(int)"/> zeroes memory before returning.</summary>
|
/// <summary>Gets a value indicating whether <see cref="AllocMem(int)"/> zeroes memory before returning.</summary>
|
||||||
/// <value><see langword="true"/> if <see cref="AllocMem(int)"/> zeroes memory before returning; otherwise, <see langword="false"/>.</value>
|
/// <value><see langword="true"/> if <see cref="AllocMem(int)"/> zeroes memory before returning; otherwise, <see langword="false"/>.</value>
|
||||||
protected virtual bool AllocZeroes => false;
|
public virtual bool AllocZeroes => false;
|
||||||
|
|
||||||
/// <summary>Gets a value indicating whether this memory supports locking.</summary>
|
/// <summary>Gets a value indicating whether this memory supports locking.</summary>
|
||||||
/// <value><see langword="true"/> if lockable; otherwise, <see langword="false"/>.</value>
|
/// <value><see langword="true"/> if lockable; otherwise, <see langword="false"/>.</value>
|
||||||
|
|
Loading…
Reference in New Issue