Package | Description |
---|---|
jnr.ffi | |
jnr.ffi.provider.converters |
Modifier and Type | Class and Description |
---|---|
class |
Struct.StructRef<T extends Struct>
Represents a reference to a Struct or and array of Structs
|
Modifier and Type | Class and Description |
---|---|
class |
Union
Represents a C union
|
Modifier and Type | Method and Description |
---|---|
protected <T extends Struct> |
Struct.array(T[] array)
Creates an array of Struct instances.
|
static <T extends Struct> |
Struct.arrayOf(Runtime runtime,
Class<T> type,
int length) |
protected <T extends Struct> |
Struct.inner(T struct) |
Modifier and Type | Method and Description |
---|---|
protected <T extends Struct> |
Struct.array(T[] array)
Creates an array of Struct instances.
|
static <T extends Struct> |
Struct.arrayOf(Runtime runtime,
Class<T> type,
int length) |
T[] |
Struct.StructRef.get(int length) |
Struct |
Struct.AbstractMember.struct()
Gets the Struct this Member is a member of.
|
Struct |
Struct.NumberField.struct()
Gets the Struct this Member is in.
|
Modifier and Type | Method and Description |
---|---|
static int |
Struct.alignment(Struct struct) |
protected <T extends Struct> |
Struct.array(T[] array)
Creates an array of Struct instances.
|
static Pointer |
Struct.getMemory(Struct struct) |
static Pointer |
Struct.getMemory(Struct struct,
int flags) |
static boolean |
Struct.isDirect(Struct struct) |
void |
Struct.StructRef.set(T[] structs) |
static int |
Struct.size(Struct struct) |
Constructor and Description |
---|
Struct(Runtime runtime,
Struct enclosing) |
Modifier and Type | Method and Description |
---|---|
Struct |
StructByReferenceFromNativeConverter.fromNative(Pointer nativeValue,
FromNativeContext context) |
Modifier and Type | Method and Description |
---|---|
static FromNativeConverter<Struct,Pointer> |
StructByReferenceFromNativeConverter.getInstance(Class structClass,
FromNativeContext toNativeContext) |
static ToNativeConverter<Struct,Pointer> |
StructByReferenceToNativeConverter.getInstance(ToNativeContext toNativeContext) |
Modifier and Type | Method and Description |
---|---|
void |
StructArrayParameterConverter.Out.postInvoke(Struct[] structs,
Pointer primitive,
ToNativeContext context) |
Pointer |
StructArrayParameterConverter.toNative(Struct[] structs,
ToNativeContext context) |
Pointer |
StructByReferenceToNativeConverter.toNative(Struct value,
ToNativeContext ctx) |
Copyright © 2017. All rights reserved.