Package org.jruby.ext.ffi.jffi
Class DefaultMethodFactory.BufferMarshaller
java.lang.Object
org.jruby.ext.ffi.jffi.DefaultMethodFactory.NonSessionMarshaller
org.jruby.ext.ffi.jffi.DefaultMethodFactory.PointerParameterMarshaller
org.jruby.ext.ffi.jffi.DefaultMethodFactory.BufferMarshaller
- All Implemented Interfaces:
ParameterMarshaller
- Enclosing class:
- DefaultMethodFactory
static final class DefaultMethodFactory.BufferMarshaller
extends DefaultMethodFactory.PointerParameterMarshaller
Converts a ruby Buffer into a native address.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final ParameterMarshaller(package private) static final ParameterMarshaller(package private) static final ParameterMarshaller -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidmarshal(ThreadContext context, com.kenai.jffi.InvocationBuffer buffer, IRubyObject parameter) Methods inherited from class org.jruby.ext.ffi.jffi.DefaultMethodFactory.PointerParameterMarshaller
marshalMethods inherited from class org.jruby.ext.ffi.jffi.DefaultMethodFactory.NonSessionMarshaller
marshal, requiresPostInvoke, requiresReference
-
Field Details
-
IN
-
OUT
-
INOUT
-
-
Constructor Details
-
BufferMarshaller
public BufferMarshaller(int flags)
-
-
Method Details
-
marshal
public final void marshal(ThreadContext context, com.kenai.jffi.InvocationBuffer buffer, IRubyObject parameter)
-