Package org.jruby.ext.ffi.jffi
Class DefaultMethodFactory.StructByValueInvoker
java.lang.Object
org.jruby.ext.ffi.jffi.DefaultMethodFactory.BaseInvoker
org.jruby.ext.ffi.jffi.DefaultMethodFactory.StructByValueInvoker
- All Implemented Interfaces:
FunctionInvoker
- Enclosing class:
- DefaultMethodFactory
private static final class DefaultMethodFactory.StructByValueInvoker
extends DefaultMethodFactory.BaseInvoker
Invokes the native function with a native struct return value.
Returns a FFI::Struct instance to ruby.
-
Field Summary
FieldsFields inherited from class org.jruby.ext.ffi.jffi.DefaultMethodFactory.BaseInvoker
invoker -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal IRubyObjectinvoke(ThreadContext context, com.kenai.jffi.Function function, com.kenai.jffi.HeapInvocationBuffer args)
-
Field Details
-
info
-
-
Constructor Details
-
StructByValueInvoker
-
-
Method Details
-
invoke
public final IRubyObject invoke(ThreadContext context, com.kenai.jffi.Function function, com.kenai.jffi.HeapInvocationBuffer args)
-