public interface CDoublePointer
extends org.graalvm.word.PointerBase
| Modifier and Type | Method and Description |
|---|---|
CDoublePointer |
addressOf(int index)
Computes the address of the array element with the specified index, treating the pointer as
an array of the C type.
|
CDoublePointer |
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.
|
double |
read()
Reads the value at the pointer address.
|
double |
read(int index)
Reads the value of the array element with the specified index, treating the pointer as an
array of the C type.
|
double |
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.
|
void |
write(double value)
Writes the value at the pointer address.
|
void |
write(int index,
double value)
Writes the value of the array element with the specified index, treating the pointer as an
array of the C type.
|
void |
write(org.graalvm.word.SignedWord index,
double value)
Writes the value of the array element with the specified index, treating the pointer as an
array of the C type.
|
double read()
double read(int index)
double read(org.graalvm.word.SignedWord index)
void write(double value)
void write(int index,
double value)
void write(org.graalvm.word.SignedWord index,
double value)
CDoublePointer addressOf(int index)
CDoublePointer addressOf(org.graalvm.word.SignedWord index)