Class ReflectionVariableAccessorGenerator.PointerVariable

java.lang.Object
jnr.ffi.provider.jffi.ReflectionVariableAccessorGenerator.AbstractVariable<Pointer>
jnr.ffi.provider.jffi.ReflectionVariableAccessorGenerator.PointerVariable
All Implemented Interfaces:
Variable<Pointer>
Enclosing class:
ReflectionVariableAccessorGenerator

private static final class ReflectionVariableAccessorGenerator.PointerVariable extends ReflectionVariableAccessorGenerator.AbstractVariable<Pointer>
  • Constructor Details

    • PointerVariable

      private PointerVariable(Pointer memory)
  • Method Details

    • get

      public Pointer get()
      Description copied from interface: Variable
      Gets the current value of the global variable
      Returns:
      The value of the variable
    • set

      public void set(Pointer value)
      Description copied from interface: Variable
      Sets the global variable to a value
      Parameters:
      value - The value to set the global variable to.