Package | Description |
---|---|
org.bridj |
Modifier and Type | Method and Description |
---|---|
<R> DynamicFunction<R> |
Pointer.asDynamicFunction(Convention.Style callingConvention,
Type returnType,
Type... parameterTypes)
Cast this pointer as a function pointer to a function that returns the specified return type and takes the specified parameter types.
|
DynamicFunction |
DynamicFunctionFactory.newInstance(Pointer<?> functionPointer) |
Modifier and Type | Method and Description |
---|---|
static <R> Pointer<DynamicFunction<R>> |
Pointer.allocateDynamicCallback(DynamicCallback<R> callback,
Convention.Style callingConvention,
Type returnType,
Type... parameterTypes)
Create a native callback which signature corresponds to the provided calling convention, return type and parameter types, and which redirects calls to the provided Java
DynamicCallback handler. |
Copyright © 2009-2020. All Rights Reserved.