jnr.ffi.provider.converters
Class Pointer64ArrayParameterConverter

java.lang.Object
  extended by jnr.ffi.provider.converters.Pointer64ArrayParameterConverter
All Implemented Interfaces:
ToNativeConverter<Pointer[],long[]>
Direct Known Subclasses:
Pointer64ArrayParameterConverter.Out

public class Pointer64ArrayParameterConverter
extends Object
implements ToNativeConverter<Pointer[],long[]>

Converts a Pointer[] array to a long[] array parameter


Nested Class Summary
static class Pointer64ArrayParameterConverter.Out
           
 
Nested classes/interfaces inherited from interface jnr.ffi.mapper.ToNativeConverter
ToNativeConverter.Cacheable, ToNativeConverter.NoContext, ToNativeConverter.PostInvocation<J,N>
 
Field Summary
protected  int parameterFlags
           
protected  Runtime runtime
           
 
Method Summary
static ToNativeConverter<Pointer[],long[]> getInstance(ToNativeContext toNativeContext)
           
 Class<long[]> nativeType()
           
 long[] toNative(Pointer[] pointers, ToNativeContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

runtime

protected final Runtime runtime

parameterFlags

protected final int parameterFlags
Method Detail

getInstance

public static ToNativeConverter<Pointer[],long[]> getInstance(ToNativeContext toNativeContext)

nativeType

public Class<long[]> nativeType()
Specified by:
nativeType in interface ToNativeConverter<Pointer[],long[]>

toNative

public long[] toNative(Pointer[] pointers,
                       ToNativeContext context)
Specified by:
toNative in interface ToNativeConverter<Pointer[],long[]>


Copyright © 2013. All Rights Reserved.