Class _VipsObject
java.lang.Object
app.photofox.vipsffm.jextract._VipsObject
- Direct Known Subclasses:
VipsObject
struct _VipsObject {
GObject parent_instance;
gboolean constructed;
gboolean static_object;
VipsArgumentTable *argument_table;
char *nickname;
char *description;
gboolean preclose;
gboolean close;
gboolean postclose;
size_t local_memory;
}
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegment
allocate
(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()
usingallocator
static MemorySegment
allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCount
usingallocator
.static MemorySegment
argument_table
(MemorySegment struct) Getter for field:VipsArgumentTable *argument_table
static void
argument_table
(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsArgumentTable *argument_table
static final AddressLayout
Layout for field:VipsArgumentTable *argument_table
static final long
Offset for field:VipsArgumentTable *argument_table
static MemorySegment
asSlice
(MemorySegment array, long index) Obtains a slice ofarrayParam
which selects the array element atindex
.static int
close
(MemorySegment struct) Getter for field:gboolean close
static void
close
(MemorySegment struct, int fieldValue) Setter for field:gboolean close
static final ValueLayout.OfInt
Layout for field:gboolean close
static final long
Offset for field:gboolean close
static int
constructed
(MemorySegment struct) Getter for field:gboolean constructed
static void
constructed
(MemorySegment struct, int fieldValue) Setter for field:gboolean constructed
static final ValueLayout.OfInt
Layout for field:gboolean constructed
static final long
Offset for field:gboolean constructed
static MemorySegment
description
(MemorySegment struct) Getter for field:char *description
static void
description
(MemorySegment struct, MemorySegment fieldValue) Setter for field:char *description
static final AddressLayout
Layout for field:char *description
static final long
Offset for field:char *description
static final GroupLayout
layout()
The layout of this structstatic long
local_memory
(MemorySegment struct) Getter for field:size_t local_memory
static void
local_memory
(MemorySegment struct, long fieldValue) Setter for field:size_t local_memory
static final ValueLayout.OfLong
Layout for field:size_t local_memory
static final long
Offset for field:size_t local_memory
static MemorySegment
nickname
(MemorySegment struct) Getter for field:char *nickname
static void
nickname
(MemorySegment struct, MemorySegment fieldValue) Setter for field:char *nickname
static final AddressLayout
Layout for field:char *nickname
static final long
Offset for field:char *nickname
static MemorySegment
parent_instance
(MemorySegment struct) Getter for field:GObject parent_instance
static void
parent_instance
(MemorySegment struct, MemorySegment fieldValue) Setter for field:GObject parent_instance
static final GroupLayout
Layout for field:GObject parent_instance
static final long
Offset for field:GObject parent_instance
static int
postclose
(MemorySegment struct) Getter for field:gboolean postclose
static void
postclose
(MemorySegment struct, int fieldValue) Setter for field:gboolean postclose
static final ValueLayout.OfInt
Layout for field:gboolean postclose
static final long
Offset for field:gboolean postclose
static int
preclose
(MemorySegment struct) Getter for field:gboolean preclose
static void
preclose
(MemorySegment struct, int fieldValue) Setter for field:gboolean preclose
static final ValueLayout.OfInt
Layout for field:gboolean preclose
static final long
Offset for field:gboolean preclose
static MemorySegment
reinterpret
(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static MemorySegment
reinterpret
(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static long
sizeof()
The size (in bytes) of this structstatic int
static_object
(MemorySegment struct) Getter for field:gboolean static_object
static void
static_object
(MemorySegment struct, int fieldValue) Setter for field:gboolean static_object
static final ValueLayout.OfInt
Layout for field:gboolean static_object
static final long
Offset for field:gboolean static_object
-
Method Details
-
layout
The layout of this struct -
parent_instance$layout
Layout for field:GObject parent_instance
-
parent_instance$offset
public static final long parent_instance$offset()Offset for field:GObject parent_instance
-
parent_instance
Getter for field:GObject parent_instance
-
parent_instance
Setter for field:GObject parent_instance
-
constructed$layout
Layout for field:gboolean constructed
-
constructed$offset
public static final long constructed$offset()Offset for field:gboolean constructed
-
constructed
Getter for field:gboolean constructed
-
constructed
Setter for field:gboolean constructed
-
static_object$layout
Layout for field:gboolean static_object
-
static_object$offset
public static final long static_object$offset()Offset for field:gboolean static_object
-
static_object
Getter for field:gboolean static_object
-
static_object
Setter for field:gboolean static_object
-
argument_table$layout
Layout for field:VipsArgumentTable *argument_table
-
argument_table$offset
public static final long argument_table$offset()Offset for field:VipsArgumentTable *argument_table
-
argument_table
Getter for field:VipsArgumentTable *argument_table
-
argument_table
Setter for field:VipsArgumentTable *argument_table
-
nickname$layout
Layout for field:char *nickname
-
nickname$offset
public static final long nickname$offset()Offset for field:char *nickname
-
nickname
Getter for field:char *nickname
-
nickname
Setter for field:char *nickname
-
description$layout
Layout for field:char *description
-
description$offset
public static final long description$offset()Offset for field:char *description
-
description
Getter for field:char *description
-
description
Setter for field:char *description
-
preclose$layout
Layout for field:gboolean preclose
-
preclose$offset
public static final long preclose$offset()Offset for field:gboolean preclose
-
preclose
Getter for field:gboolean preclose
-
preclose
Setter for field:gboolean preclose
-
close$layout
Layout for field:gboolean close
-
close$offset
public static final long close$offset()Offset for field:gboolean close
-
close
Getter for field:gboolean close
-
close
Setter for field:gboolean close
-
postclose$layout
Layout for field:gboolean postclose
-
postclose$offset
public static final long postclose$offset()Offset for field:gboolean postclose
-
postclose
Getter for field:gboolean postclose
-
postclose
Setter for field:gboolean postclose
-
local_memory$layout
Layout for field:size_t local_memory
-
local_memory$offset
public static final long local_memory$offset()Offset for field:size_t local_memory
-
local_memory
Getter for field:size_t local_memory
-
local_memory
Setter for field:size_t local_memory
-
asSlice
Obtains a slice ofarrayParam
which 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 sizeelementCount
usingallocator
. The returned segment has sizeelementCount * layout().byteSize()
. -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizelayout().byteSize()
-
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizeelementCount * layout().byteSize()
-