Package jnr.ffi
Class StructLayout.WBOOL
java.lang.Object
jnr.ffi.StructLayout.Field
jnr.ffi.StructLayout.AbstractField
jnr.ffi.StructLayout.AbstractBoolean
jnr.ffi.StructLayout.WBOOL
- Enclosing class:
- StructLayout
A Windows BOOL - 4 bytes
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jnr.ffi.StructLayout.AbstractBoolean
toString
Methods inherited from class jnr.ffi.StructLayout.Field
enclosing, offset
-
Constructor Details
-
WBOOL
protected WBOOL() -
WBOOL
-
-
Method Details
-
get
Description copied from class:StructLayout.AbstractBoolean
Gets the value for this field.- Specified by:
get
in classStructLayout.AbstractBoolean
- Parameters:
ptr
- The pointer to the field.- Returns:
- a boolean.
-
set
Description copied from class:StructLayout.AbstractBoolean
Sets the field to a new value.- Specified by:
set
in classStructLayout.AbstractBoolean
- Parameters:
ptr
- The pointer to the field.value
- The new value.
-