Class MethodFactory

java.lang.Object
org.jruby.ext.ffi.jffi.MethodFactory
Direct Known Subclasses:
DefaultMethodFactory

public abstract class MethodFactory extends Object
Common method factory definitions
  • Constructor Details

    • MethodFactory

      public MethodFactory()
  • Method Details

    • createDynamicMethod

      public static final DynamicMethod createDynamicMethod(Ruby runtime, RubyModule module, com.kenai.jffi.Function function, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention, IRubyObject enums, boolean ignoreErrno)
    • isSupported

      abstract boolean isSupported(Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention)
    • createMethod

      abstract DynamicMethod createMethod(RubyModule module, com.kenai.jffi.Function function, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention, IRubyObject enums, boolean ignoreErrno)