All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jruby.ext.ffi.jffi.ParameterMarshaller Maven / Gradle / Ivy

There is a newer version: 9.4.7.0
Show newest version

package org.jruby.ext.ffi.jffi;

import com.kenai.jffi.InvocationBuffer;
import org.jruby.runtime.ThreadContext;
import org.jruby.runtime.builtin.IRubyObject;

/**
 * Converts a ruby parameter into a native argument.
 */
interface ParameterMarshaller {
    public void marshal(Invocation invocation, InvocationBuffer buffer, IRubyObject value);
    public void marshal(ThreadContext context, InvocationBuffer buffer, IRubyObject value);
    public boolean requiresPostInvoke();
    public boolean requiresReference();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy