Package org.graalvm.nativeimage.c.struct
package org.graalvm.nativeimage.c.struct
This package provides parts of the Java / C interface that are related to C structures.
- Since:
- 19.0
-
ClassDescriptionAllows a method annotated with
CField
to have a value type that is narrower (smaller number of bits) than the C type.Allows a method annotated withCField
to have a value type that is wider (larger number of bits) than the C type.Denotes a method as a bitfield access of aC struct
.Denotes a method as a field access of aC struct
.Denotes a method as a field address computation of aC struct
.Denotes a method as a field offset access of aC struct
.Denotes Java interface that imports a C pointer type.Denotes Java interface that imports a C struct.Informational only.Denotes a method as a field access of astructured C memory
.Denotes a method as a field address computation of aRawStructure
.Denotes a method as a field offset access of aRawStructure
.Denotes a Java interface that is a pointer to aRawStructure
.Denotes Java interface that represents C memory, but without aC struct
definition.Contains static methods that provide access to the size of dereferenced SystemJava pointer types (i.e.ACField
also annotated with this annotation gets a uniqueLocationIdentity
assigned, i.e., reads and writes do not interfere with reads and writes to any other field and are optimized without regarding other fields.