Package app.photofox.vipsffm.generated
Class VipsSemaphore
java.lang.Object
app.photofox.vipsffm.generated.VipsSemaphore
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegmentallocate(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()usingallocatorstatic MemorySegmentallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCountusingallocator.static MemorySegmentasSlice(MemorySegment array, long index) Obtains a slice ofarrayParamwhich selects the array element atindex.static MemorySegmentcond(MemorySegment struct) Getter for field:GCond *condstatic voidcond(MemorySegment struct, MemorySegment fieldValue) Setter for field:GCond *condstatic final AddressLayoutLayout for field:GCond *condstatic final longOffset for field:GCond *condstatic final GroupLayoutlayout()The layout of this structstatic MemorySegmentmutex(MemorySegment struct) Getter for field:GMutex *mutexstatic voidmutex(MemorySegment struct, MemorySegment fieldValue) Setter for field:GMutex *mutexstatic final AddressLayoutLayout for field:GMutex *mutexstatic final longOffset for field:GMutex *mutexstatic MemorySegmentname(MemorySegment struct) Getter for field:char *namestatic voidname(MemorySegment struct, MemorySegment fieldValue) Setter for field:char *namestatic final AddressLayoutLayout for field:char *namestatic final longOffset for field:char *namestatic MemorySegmentreinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentreinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static longsizeof()The size (in bytes) of this structstatic intv(MemorySegment struct) Getter for field:int vstatic voidv(MemorySegment struct, int fieldValue) Setter for field:int vstatic final ValueLayout.OfIntv$layout()Layout for field:int vstatic final longv$offset()Offset for field:int v
-
Method Details
-
layout
The layout of this struct -
name$layout
Layout for field:char *name -
name$offset
public static final long name$offset()Offset for field:char *name -
name
Getter for field:char *name -
name
Setter for field:char *name -
v$layout
Layout for field:int v -
v$offset
public static final long v$offset()Offset for field:int v -
v
Getter for field:int v -
v
Setter for field:int v -
mutex$layout
Layout for field:GMutex *mutex -
mutex$offset
public static final long mutex$offset()Offset for field:GMutex *mutex -
mutex
Getter for field:GMutex *mutex -
mutex
Setter for field:GMutex *mutex -
cond$layout
Layout for field:GCond *cond -
cond$offset
public static final long cond$offset()Offset for field:GCond *cond -
cond
Getter for field:GCond *cond -
cond
Setter for field:GCond *cond -
asSlice
Obtains a slice ofarrayParamwhich selects the array element atindex. The returned segment has addressarrayParam.address() + index * layout().byteSize() -
sizeof
public static long sizeof()The size (in bytes) of this struct -
allocate
Allocate a segment of sizelayout().byteSize()usingallocator -
allocateArray
Allocate an array of sizeelementCountusingallocator. The returned segment has sizeelementCount * layout().byteSize(). -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizelayout().byteSize() -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizeelementCount * layout().byteSize()
-