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
protected final class StructLayout.WBOOL
- extends StructLayout.AbstractBoolean
A Windows BOOL - 4 bytes
|
Method Summary |
boolean |
get(Pointer ptr)
Gets the value for this field. |
void |
set(Pointer ptr,
boolean value)
Sets the field to a new value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StructLayout.WBOOL
protected StructLayout.WBOOL()
StructLayout.WBOOL
protected StructLayout.WBOOL(StructLayout.Offset offset)
get
public final boolean get(Pointer ptr)
- Description copied from class:
StructLayout.AbstractBoolean
- Gets the value for this field.
- Specified by:
get in class StructLayout.AbstractBoolean
- Returns:
- a boolean.
set
public final void set(Pointer ptr,
boolean value)
- Description copied from class:
StructLayout.AbstractBoolean
- Sets the field to a new value.
- Specified by:
set in class StructLayout.AbstractBoolean
value - The new value.
Copyright © 2013. All Rights Reserved.