Package org.lwjgl.vulkan
Class VkWin32KeyedMutexAcquireReleaseInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkWin32KeyedMutexAcquireReleaseInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkWin32KeyedMutexAcquireReleaseInfoKHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Use the Windows keyed mutex mechanism to synchronize work.Valid Usage
- Each member of
pAcquireSyncs
andpReleaseSyncs
must be a device memory object imported by settingVkImportMemoryWin32HandleInfoKHR
::handleType
toEXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT
orEXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT
.
Valid Usage (Implicit)
sType
must beSTRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR
- If
acquireCount
is not 0,pAcquireSyncs
must be a valid pointer to an array ofacquireCount
validVkDeviceMemory
handles - If
acquireCount
is not 0,pAcquireKeys
must be a valid pointer to an array ofacquireCount
uint64_t
values - If
acquireCount
is not 0,pAcquireTimeouts
must be a valid pointer to an array ofacquireCount
uint32_t
values - If
releaseCount
is not 0,pReleaseSyncs
must be a valid pointer to an array ofreleaseCount
validVkDeviceMemory
handles - If
releaseCount
is not 0,pReleaseKeys
must be a valid pointer to an array ofreleaseCount
uint64_t
values - Both of the elements of
pAcquireSyncs
, and the elements ofpReleaseSyncs
that are valid handles must have been created, allocated, or retrieved from the sameVkDevice
Member documentation
acquireCount
– the number of entries in thepAcquireSyncs
,pAcquireKeys
, andpAcquireTimeoutMilliseconds
arrays.pAcquireSyncs
– a pointer to an array ofVkDeviceMemory
objects which were imported from Direct3D 11 resources.pAcquireKeys
– a pointer to an array of mutex key values to wait for prior to beginning the submitted work. Entries refer to the keyed mutex associated with the corresponding entries inpAcquireSyncs
.releaseCount
– the number of entries in thepReleaseSyncs
andpReleaseKeys
arrays.pReleaseSyncs
– a pointer to an array ofVkDeviceMemory
objects which were imported from Direct3D 11 resources.pReleaseKeys
– a pointer to an array of mutex key values to set when the submitted work has completed. Entries refer to the keyed mutex associated with the corresponding entries inpReleaseSyncs
.
Layout
struct VkWin32KeyedMutexAcquireReleaseInfoKHR { VkStructureType sType; void const * pNext; uint32_t acquireCount; VkDeviceMemory const * pAcquireSyncs; uint64_t const * pAcquireKeys; uint32_t const * pAcquireTimeouts; uint32_t releaseCount; VkDeviceMemory const * pReleaseSyncs; uint64_t const * pReleaseKeys; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
An array ofVkWin32KeyedMutexAcquireReleaseInfoKHR
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ACQUIRECOUNT
The struct member offsets.static int
ALIGNOF
The struct alignment in bytes.static int
PACQUIREKEYS
PACQUIRESYNCS
PACQUIRETIMEOUTS
PNEXT
PRELEASEKEYS
PRELEASESYNCS
RELEASECOUNTThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkWin32KeyedMutexAcquireReleaseInfoKHR(java.nio.ByteBuffer container)
Creates aVkWin32KeyedMutexAcquireReleaseInfoKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
acquireCount()
Returns the value of theacquireCount
field.VkWin32KeyedMutexAcquireReleaseInfoKHR
acquireCount(int value)
Sets the specified value to theacquireCount
field.static VkWin32KeyedMutexAcquireReleaseInfoKHR
calloc()
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR
instance allocated withmemCalloc
.static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
calloc(int capacity)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
instance allocated withmemCalloc
.static VkWin32KeyedMutexAcquireReleaseInfoKHR
callocStack()
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
callocStack(int capacity)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkWin32KeyedMutexAcquireReleaseInfoKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkWin32KeyedMutexAcquireReleaseInfoKHR
create()
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR
instance allocated withBufferUtils
.static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
create(int capacity)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
instance allocated withBufferUtils
.static VkWin32KeyedMutexAcquireReleaseInfoKHR
create(long address)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR
instance for the specified memory address.static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
create(long address, int capacity)
Create aVkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
instance at the specified memory.static VkWin32KeyedMutexAcquireReleaseInfoKHR
createSafe(long address)
static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
createSafe(long address, int capacity)
static VkWin32KeyedMutexAcquireReleaseInfoKHR
malloc()
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR
instance allocated withmemAlloc
.static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
malloc(int capacity)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
instance allocated withmemAlloc
.static VkWin32KeyedMutexAcquireReleaseInfoKHR
mallocStack()
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR
instance allocated on the thread-localMemoryStack
.static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
mallocStack(int capacity)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkWin32KeyedMutexAcquireReleaseInfoKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR
instance allocated on the specifiedMemoryStack
.static int
nacquireCount(long struct)
Unsafe version ofacquireCount()
.static void
nacquireCount(long struct, int value)
Sets the specified value to theacquireCount
field of the specifiedstruct
.static java.nio.LongBuffer
npAcquireKeys(long struct)
Unsafe version ofpAcquireKeys
.static void
npAcquireKeys(long struct, java.nio.LongBuffer value)
Unsafe version ofpAcquireKeys
.static java.nio.LongBuffer
npAcquireSyncs(long struct)
Unsafe version ofpAcquireSyncs
.static void
npAcquireSyncs(long struct, java.nio.LongBuffer value)
Unsafe version ofpAcquireSyncs
.static java.nio.IntBuffer
npAcquireTimeouts(long struct)
Unsafe version ofpAcquireTimeouts
.static void
npAcquireTimeouts(long struct, java.nio.IntBuffer value)
Unsafe version ofpAcquireTimeouts
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static java.nio.LongBuffer
npReleaseKeys(long struct)
Unsafe version ofpReleaseKeys
.static void
npReleaseKeys(long struct, java.nio.LongBuffer value)
Unsafe version ofpReleaseKeys
.static java.nio.LongBuffer
npReleaseSyncs(long struct)
Unsafe version ofpReleaseSyncs
.static void
npReleaseSyncs(long struct, java.nio.LongBuffer value)
Unsafe version ofpReleaseSyncs
.static int
nreleaseCount(long struct)
Unsafe version ofreleaseCount()
.static void
nreleaseCount(long struct, int value)
Sets the specified value to thereleaseCount
field of the specifiedstruct
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.java.nio.LongBuffer
pAcquireKeys()
Returns aLongBuffer
view of the data pointed to by thepAcquireKeys
field.VkWin32KeyedMutexAcquireReleaseInfoKHR
pAcquireKeys(java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepAcquireKeys
field.java.nio.LongBuffer
pAcquireSyncs()
Returns aLongBuffer
view of the data pointed to by thepAcquireSyncs
field.VkWin32KeyedMutexAcquireReleaseInfoKHR
pAcquireSyncs(java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepAcquireSyncs
field.java.nio.IntBuffer
pAcquireTimeouts()
Returns aIntBuffer
view of the data pointed to by thepAcquireTimeouts
field.VkWin32KeyedMutexAcquireReleaseInfoKHR
pAcquireTimeouts(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepAcquireTimeouts
field.long
pNext()
Returns the value of thepNext
field.VkWin32KeyedMutexAcquireReleaseInfoKHR
pNext(long value)
Sets the specified value to thepNext
field.java.nio.LongBuffer
pReleaseKeys()
Returns aLongBuffer
view of the data pointed to by thepReleaseKeys
field.VkWin32KeyedMutexAcquireReleaseInfoKHR
pReleaseKeys(java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepReleaseKeys
field.java.nio.LongBuffer
pReleaseSyncs()
Returns aLongBuffer
view of the data pointed to by thepReleaseSyncs
field.VkWin32KeyedMutexAcquireReleaseInfoKHR
pReleaseSyncs(java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepReleaseSyncs
field.int
releaseCount()
Returns the value of thereleaseCount
field.VkWin32KeyedMutexAcquireReleaseInfoKHR
releaseCount(int value)
Sets the specified value to thereleaseCount
field.VkWin32KeyedMutexAcquireReleaseInfoKHR
set(int sType, long pNext, int acquireCount, java.nio.LongBuffer pAcquireSyncs, java.nio.LongBuffer pAcquireKeys, java.nio.IntBuffer pAcquireTimeouts, int releaseCount, java.nio.LongBuffer pReleaseSyncs, java.nio.LongBuffer pReleaseKeys)
Initializes this struct with the specified values.VkWin32KeyedMutexAcquireReleaseInfoKHR
set(VkWin32KeyedMutexAcquireReleaseInfoKHR src)
Copies the specified struct data to this struct.int
sizeof()
int
sType()
Returns the value of thesType
field.VkWin32KeyedMutexAcquireReleaseInfoKHR
sType(int value)
Sets the specified value to thesType
field.static void
validate(long struct)
Validates pointer members that should not beNULL
.static void
validate(long array, int count)
Callsvalidate(long)
for each struct contained in the specified struct array.
-
-
-
Constructor Detail
-
VkWin32KeyedMutexAcquireReleaseInfoKHR
public VkWin32KeyedMutexAcquireReleaseInfoKHR(java.nio.ByteBuffer container)
Creates aVkWin32KeyedMutexAcquireReleaseInfoKHR
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
acquireCount
public int acquireCount()
Returns the value of theacquireCount
field.
-
pAcquireSyncs
@Nullable public java.nio.LongBuffer pAcquireSyncs()
Returns aLongBuffer
view of the data pointed to by thepAcquireSyncs
field.
-
pAcquireKeys
@Nullable public java.nio.LongBuffer pAcquireKeys()
Returns aLongBuffer
view of the data pointed to by thepAcquireKeys
field.
-
pAcquireTimeouts
@Nullable public java.nio.IntBuffer pAcquireTimeouts()
Returns aIntBuffer
view of the data pointed to by thepAcquireTimeouts
field.
-
releaseCount
public int releaseCount()
Returns the value of thereleaseCount
field.
-
pReleaseSyncs
@Nullable public java.nio.LongBuffer pReleaseSyncs()
Returns aLongBuffer
view of the data pointed to by thepReleaseSyncs
field.
-
pReleaseKeys
@Nullable public java.nio.LongBuffer pReleaseKeys()
Returns aLongBuffer
view of the data pointed to by thepReleaseKeys
field.
-
sType
public VkWin32KeyedMutexAcquireReleaseInfoKHR sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkWin32KeyedMutexAcquireReleaseInfoKHR pNext(long value)
Sets the specified value to thepNext
field.
-
acquireCount
public VkWin32KeyedMutexAcquireReleaseInfoKHR acquireCount(int value)
Sets the specified value to theacquireCount
field.
-
pAcquireSyncs
public VkWin32KeyedMutexAcquireReleaseInfoKHR pAcquireSyncs(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepAcquireSyncs
field.
-
pAcquireKeys
public VkWin32KeyedMutexAcquireReleaseInfoKHR pAcquireKeys(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepAcquireKeys
field.
-
pAcquireTimeouts
public VkWin32KeyedMutexAcquireReleaseInfoKHR pAcquireTimeouts(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepAcquireTimeouts
field.
-
releaseCount
public VkWin32KeyedMutexAcquireReleaseInfoKHR releaseCount(int value)
Sets the specified value to thereleaseCount
field.
-
pReleaseSyncs
public VkWin32KeyedMutexAcquireReleaseInfoKHR pReleaseSyncs(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepReleaseSyncs
field.
-
pReleaseKeys
public VkWin32KeyedMutexAcquireReleaseInfoKHR pReleaseKeys(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepReleaseKeys
field.
-
set
public VkWin32KeyedMutexAcquireReleaseInfoKHR set(int sType, long pNext, int acquireCount, @Nullable java.nio.LongBuffer pAcquireSyncs, @Nullable java.nio.LongBuffer pAcquireKeys, @Nullable java.nio.IntBuffer pAcquireTimeouts, int releaseCount, @Nullable java.nio.LongBuffer pReleaseSyncs, @Nullable java.nio.LongBuffer pReleaseKeys)
Initializes this struct with the specified values.
-
set
public VkWin32KeyedMutexAcquireReleaseInfoKHR set(VkWin32KeyedMutexAcquireReleaseInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkWin32KeyedMutexAcquireReleaseInfoKHR malloc()
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkWin32KeyedMutexAcquireReleaseInfoKHR calloc()
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkWin32KeyedMutexAcquireReleaseInfoKHR create()
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR
instance allocated withBufferUtils
.
-
create
public static VkWin32KeyedMutexAcquireReleaseInfoKHR create(long address)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkWin32KeyedMutexAcquireReleaseInfoKHR createSafe(long address)
-
malloc
public static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer malloc(int capacity)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer calloc(int capacity)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer create(int capacity)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer create(long address, int capacity)
Create aVkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkWin32KeyedMutexAcquireReleaseInfoKHR mallocStack()
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkWin32KeyedMutexAcquireReleaseInfoKHR callocStack()
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkWin32KeyedMutexAcquireReleaseInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkWin32KeyedMutexAcquireReleaseInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer mallocStack(int capacity)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer callocStack(int capacity)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkWin32KeyedMutexAcquireReleaseInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType()
.
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext()
.
-
nacquireCount
public static int nacquireCount(long struct)
Unsafe version ofacquireCount()
.
-
npAcquireSyncs
@Nullable public static java.nio.LongBuffer npAcquireSyncs(long struct)
Unsafe version ofpAcquireSyncs
.
-
npAcquireKeys
@Nullable public static java.nio.LongBuffer npAcquireKeys(long struct)
Unsafe version ofpAcquireKeys
.
-
npAcquireTimeouts
@Nullable public static java.nio.IntBuffer npAcquireTimeouts(long struct)
Unsafe version ofpAcquireTimeouts
.
-
nreleaseCount
public static int nreleaseCount(long struct)
Unsafe version ofreleaseCount()
.
-
npReleaseSyncs
@Nullable public static java.nio.LongBuffer npReleaseSyncs(long struct)
Unsafe version ofpReleaseSyncs
.
-
npReleaseKeys
@Nullable public static java.nio.LongBuffer npReleaseKeys(long struct)
Unsafe version ofpReleaseKeys
.
-
nsType
public static void nsType(long struct, int value)
Unsafe version ofsType
.
-
npNext
public static void npNext(long struct, long value)
Unsafe version ofpNext
.
-
nacquireCount
public static void nacquireCount(long struct, int value)
Sets the specified value to theacquireCount
field of the specifiedstruct
.
-
npAcquireSyncs
public static void npAcquireSyncs(long struct, @Nullable java.nio.LongBuffer value)
Unsafe version ofpAcquireSyncs
.
-
npAcquireKeys
public static void npAcquireKeys(long struct, @Nullable java.nio.LongBuffer value)
Unsafe version ofpAcquireKeys
.
-
npAcquireTimeouts
public static void npAcquireTimeouts(long struct, @Nullable java.nio.IntBuffer value)
Unsafe version ofpAcquireTimeouts
.
-
nreleaseCount
public static void nreleaseCount(long struct, int value)
Sets the specified value to thereleaseCount
field of the specifiedstruct
.
-
npReleaseSyncs
public static void npReleaseSyncs(long struct, @Nullable java.nio.LongBuffer value)
Unsafe version ofpReleaseSyncs
.
-
npReleaseKeys
public static void npReleaseKeys(long struct, @Nullable java.nio.LongBuffer value)
Unsafe version ofpReleaseKeys
.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-
validate
public static void validate(long array, int count)
Callsvalidate(long)
for each struct contained in the specified struct array.- Parameters:
array
- the struct array to validatecount
- the number of structs inarray
-
-