Package org.jruby.ext.ffi.jffi
Class DefaultMethodFactory.BooleanMarshaller
java.lang.Object
org.jruby.ext.ffi.jffi.DefaultMethodFactory.NonSessionMarshaller
org.jruby.ext.ffi.jffi.DefaultMethodFactory.BooleanMarshaller
- All Implemented Interfaces:
ParameterMarshaller
- Enclosing class:
- DefaultMethodFactory
static final class DefaultMethodFactory.BooleanMarshaller
extends DefaultMethodFactory.NonSessionMarshaller
Converts a ruby Boolean into an 32 bit native integer.
-
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.NonSessionMarshaller
marshal, requiresPostInvoke, requiresReference
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
BooleanMarshaller
BooleanMarshaller()
-
-
Method Details
-
marshal
public final void marshal(ThreadContext context, com.kenai.jffi.InvocationBuffer buffer, IRubyObject parameter)
-