Package org.jruby.ext.ffi.jffi
Class DefaultMethodFactory.ConvertingMarshaller
java.lang.Object
org.jruby.ext.ffi.jffi.DefaultMethodFactory.ConvertingMarshaller
- All Implemented Interfaces:
ParameterMarshaller
- Enclosing class:
- DefaultMethodFactory
static final class DefaultMethodFactory.ConvertingMarshaller
extends Object
implements ParameterMarshaller
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NativeDataConverterprivate final ParameterMarshaller -
Constructor Summary
ConstructorsConstructorDescriptionConvertingMarshaller(ParameterMarshaller nativeMarshaller, NativeDataConverter converter) -
Method Summary
Modifier and TypeMethodDescriptionvoidmarshal(Invocation invocation, com.kenai.jffi.InvocationBuffer buffer, IRubyObject parameter) voidmarshal(ThreadContext context, com.kenai.jffi.InvocationBuffer buffer, IRubyObject parameter) booleanboolean
-
Field Details
-
nativeMarshaller
-
converter
-
-
Constructor Details
-
ConvertingMarshaller
-
-
Method Details
-
marshal
public void marshal(Invocation invocation, com.kenai.jffi.InvocationBuffer buffer, IRubyObject parameter) - Specified by:
marshalin interfaceParameterMarshaller
-
marshal
public void marshal(ThreadContext context, com.kenai.jffi.InvocationBuffer buffer, IRubyObject parameter) - Specified by:
marshalin interfaceParameterMarshaller
-
requiresPostInvoke
public boolean requiresPostInvoke()- Specified by:
requiresPostInvokein interfaceParameterMarshaller
-
requiresReference
public boolean requiresReference()- Specified by:
requiresReferencein interfaceParameterMarshaller
-