Class SizeOf
java.lang.Object
org.graalvm.nativeimage.c.struct.SizeOf
Contains static methods that provide access to the size of dereferenced SystemJava pointer
types (i.e. the size of the data structure pointed-to by SystemJava pointer). Note that this
semantic differs from the sizeof-operator defined by the C programming language.
- Since:
- 19.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic intReturns the size of the data structure pointed to by SystemJava pointer types.static org.graalvm.word.UnsignedWordReturns thesizecast toUnsignedWord.
-
Method Details
-
get
Returns the size of the data structure pointed to by SystemJava pointer types. The class must be annotated withCStruct,CPointerTo, orRawStructure.- Since:
- 19.0
-
unsigned
-