static final class DefaultMethodFactory.ConvertingMarshaller extends java.lang.Object implements ParameterMarshaller
| Modifier and Type | Field and Description |
|---|---|
private NativeDataConverter |
converter |
private ParameterMarshaller |
nativeMarshaller |
| Constructor and Description |
|---|
ConvertingMarshaller(ParameterMarshaller nativeMarshaller,
NativeDataConverter converter) |
| Modifier and Type | Method and Description |
|---|---|
void |
marshal(Invocation invocation,
com.kenai.jffi.InvocationBuffer buffer,
IRubyObject parameter) |
void |
marshal(ThreadContext context,
com.kenai.jffi.InvocationBuffer buffer,
IRubyObject parameter) |
boolean |
requiresPostInvoke() |
boolean |
requiresReference() |
private final ParameterMarshaller nativeMarshaller
private final NativeDataConverter converter
public ConvertingMarshaller(ParameterMarshaller nativeMarshaller, NativeDataConverter converter)
public void marshal(Invocation invocation, com.kenai.jffi.InvocationBuffer buffer, IRubyObject parameter)
marshal in interface ParameterMarshallerpublic void marshal(ThreadContext context, com.kenai.jffi.InvocationBuffer buffer, IRubyObject parameter)
marshal in interface ParameterMarshallerpublic boolean requiresPostInvoke()
requiresPostInvoke in interface ParameterMarshallerpublic boolean requiresReference()
requiresReference in interface ParameterMarshaller