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

org.jruby.ext.ffi.jffi.FunctionInvoker 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.Function;
import com.kenai.jffi.HeapInvocationBuffer;
import org.jruby.runtime.ThreadContext;
import org.jruby.runtime.builtin.IRubyObject;

/**
 * An interface that is used to invoke a native function with a specific
 * return type, and convert that return type to a ruby object.
 */
interface FunctionInvoker {

    IRubyObject invoke(ThreadContext context, Function function, HeapInvocationBuffer args);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy