Package org.jruby.ext.ffi.jffi
Class DefaultMethodFactory.StringMarshaller
java.lang.Object
org.jruby.ext.ffi.jffi.DefaultMethodFactory.NonSessionMarshaller
org.jruby.ext.ffi.jffi.DefaultMethodFactory.PointerParameterMarshaller
org.jruby.ext.ffi.jffi.DefaultMethodFactory.StringMarshaller
- All Implemented Interfaces:
ParameterMarshaller
- Enclosing class:
- DefaultMethodFactory
static final class DefaultMethodFactory.StringMarshaller
extends DefaultMethodFactory.PointerParameterMarshaller
Converts a ruby String into a native pointer.
-
Field Summary
Fields -
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
-
INSTANCE
-
-
Constructor Details
-
StringMarshaller
StringMarshaller(int flags)
-
-
Method Details
-
marshal
public final void marshal(ThreadContext context, com.kenai.jffi.InvocationBuffer buffer, IRubyObject parameter)
-