jnr.ffi.provider.jffi
Class NativeClosureFactory<T>
java.lang.Object
jnr.ffi.provider.jffi.NativeClosureFactory<T>
- All Implemented Interfaces:
- ToNativeConverter<Object,Pointer>
public final class NativeClosureFactory<T>
- extends Object
- implements ToNativeConverter<Object,Pointer>
|
Field Summary |
static boolean |
DEBUG
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
public static final boolean DEBUG
NativeClosureFactory
protected NativeClosureFactory(NativeRuntime runtime,
com.kenai.jffi.CallContext callContext,
Constructor<? extends NativeClosure> nativeClosureConstructor)
toNative
public final Pointer toNative(Object callable,
ToNativeContext context)
- Specified by:
toNative in interface ToNativeConverter<Object,Pointer>
nativeType
public Class<Pointer> nativeType()
- Specified by:
nativeType in interface ToNativeConverter<Object,Pointer>
Copyright © 2012. All Rights Reserved.