Interface CIntPointerPointer
- All Superinterfaces:
org.graalvm.word.ComparableWord,org.graalvm.word.PointerBase,org.graalvm.word.WordBase
public interface CIntPointerPointer
extends org.graalvm.word.PointerBase
A pointer to a pointer to a 32-bit C primitive value.
- Since:
- 19.0
-
Method Summary
Modifier and TypeMethodDescriptionaddressOf(int index) Computes the address of the array element with the specified index, treating the pointer as an array of the C type.addressOf(org.graalvm.word.SignedWord index) Computes the address of the array element with the specified index, treating the pointer as an array of the C type.read()Reads the value at the pointer address.read(int index) Reads the value of the array element with the specified index, treating the pointer as an array of the C type.read(org.graalvm.word.SignedWord index) Reads the value of the array element with the specified index, treating the pointer as an array of the C type.voidwrite(int index, CIntPointer value) Writes the value of the array element with the specified index, treating the pointer as an array of the C type.voidwrite(CIntPointer value) Writes the value at the pointer address.voidwrite(org.graalvm.word.SignedWord index, CIntPointer value) Writes the value of the array element with the specified index, treating the pointer as an array of the C type.Methods inherited from interface org.graalvm.word.ComparableWord
equal, notEqualMethods inherited from interface org.graalvm.word.PointerBase
isNonNull, isNullMethods inherited from interface org.graalvm.word.WordBase
equals, rawValue
-
Method Details
-
read
-
read
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-
read
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-
write
-
write
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-
write
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-
addressOf
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-
addressOf
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-