jnr.ffi.provider.jffi
Class NativeClosureFactory<T>

java.lang.Object
  extended by 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
           
 
Constructor Summary
protected NativeClosureFactory(NativeRuntime runtime, com.kenai.jffi.CallContext callContext, Constructor<? extends NativeClosure> nativeClosureConstructor)
           
 
Method Summary
 Class<Pointer> nativeType()
           
 Pointer toNative(Object callable, ToNativeContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
Constructor Detail

NativeClosureFactory

protected NativeClosureFactory(NativeRuntime runtime,
                               com.kenai.jffi.CallContext callContext,
                               Constructor<? extends NativeClosure> nativeClosureConstructor)
Method Detail

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.