Interface CIntPointerPointer

All Superinterfaces:
ComparableWord, PointerBase, WordBase

public interface CIntPointerPointer extends PointerBase
A pointer to a pointer to a 32-bit C primitive value.
Since:
19.0
  • Method Summary

    Modifier and Type
    Method
    Description
    addressOf(int index)
    Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
    Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
    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.
    Reads the value of the array element with the specified index, treating the pointer as an array of the C type.
    void
    write(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.
    void
    Writes the value at the pointer address.
    void
    write(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, notEqual

    Methods inherited from interface org.graalvm.word.PointerBase

    isNonNull, isNull

    Methods inherited from interface org.graalvm.word.WordBase

    equals, rawValue
  • Method Details

    • read

      CIntPointer read()
      Reads the value at the pointer address.
      Since:
      19.0
    • read

      CIntPointer read(int index)
      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

      CIntPointer read(SignedWord index)
      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

      void write(CIntPointer value)
      Writes the value at the pointer address.
      Since:
      19.0
    • write

      void write(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.
      Since:
      19.0
    • write

      void write(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.
      Since:
      19.0
    • addressOf

      CIntPointerPointer addressOf(int index)
      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

      CIntPointerPointer addressOf(SignedWord index)
      Computes the address of the array element with the specified index, treating the pointer as an array of the C type.
      Since:
      19.0