Function(Ruby runtime, RubyClass klass, MemoryIO address, NativeFunctionInfo functionInfo, IRubyObject enums) { super(runtime, klass, functionInfo.parameterTypes.length, address); this.functionInfo = functionInfo; function = new com.kenai.jffi.Function(address.address(), functionInfo.jffiReturnType, functionInfo.jffiParameterTypes, functionInfo.convention); this.enums = enums; this.saveError = true; // Wire up Function#call(*args) to use the super-fast native invokers getSingletonClass().addMethod("call", createDynamicMethod(getSingletonClass())); }
Function(Ruby runtime, RubyClass klass, MemoryIO address, NativeFunctionInfo functionInfo, IRubyObject enums) { super(runtime, klass, functionInfo.parameterTypes.length, address); this.functionInfo = functionInfo; function = new com.kenai.jffi.Function(address.address(), functionInfo.jffiReturnType, functionInfo.jffiParameterTypes, functionInfo.convention); this.enums = enums; this.saveError = true; // Wire up Function#call(*args) to use the super-fast native invokers getSingletonClass().addMethod("call", createDynamicMethod(getSingletonClass())); }
Function(Ruby runtime, RubyClass klass, MemoryIO address, NativeFunctionInfo functionInfo, IRubyObject enums) { super(runtime, klass, functionInfo.parameterTypes.length, address); this.functionInfo = functionInfo; function = new com.kenai.jffi.Function(address.address(), functionInfo.jffiReturnType, functionInfo.jffiParameterTypes, functionInfo.convention); this.enums = enums; this.saveError = true; // Wire up Function#call(*args) to use the super-fast native invokers getSingletonClass().addMethod("call", createDynamicMethod(getSingletonClass())); }
Function(Ruby runtime, RubyClass klass, MemoryIO address, NativeFunctionInfo functionInfo, IRubyObject enums) { super(runtime, klass, functionInfo.parameterTypes.length, address); this.functionInfo = functionInfo; function = new com.kenai.jffi.Function(address.address(), functionInfo.jffiReturnType, functionInfo.jffiParameterTypes, functionInfo.convention); this.enums = enums; this.saveError = true; // Wire up Function#call(*args) to use the super-fast native invokers getSingletonClass().addMethod("call", createDynamicMethod(getSingletonClass())); }
Function(Ruby runtime, RubyClass klass, MemoryIO address, Type returnType, Type[] parameterTypes, CallingConvention convention, IRubyObject enums, boolean saveError) { super(runtime, klass, parameterTypes.length, address); this.functionInfo = new NativeFunctionInfo(runtime, returnType, parameterTypes, convention); function = new com.kenai.jffi.Function(address.address(), functionInfo.jffiReturnType, functionInfo.jffiParameterTypes, functionInfo.convention, saveError); this.enums = enums; this.saveError = saveError; // Wire up Function#call(*args) to use the super-fast native invokers getSingletonClass().addMethod("call", createDynamicMethod(getSingletonClass())); }
Function(Ruby runtime, RubyClass klass, MemoryIO address, Type returnType, Type[] parameterTypes, CallingConvention convention, IRubyObject enums, boolean saveError) { super(runtime, klass, parameterTypes.length, address); this.functionInfo = new NativeFunctionInfo(runtime, returnType, parameterTypes, convention); function = new com.kenai.jffi.Function(address.address(), functionInfo.jffiReturnType, functionInfo.jffiParameterTypes, functionInfo.convention, saveError); this.enums = enums; this.saveError = saveError; // Wire up Function#call(*args) to use the super-fast native invokers getSingletonClass().addMethod("call", createDynamicMethod(getSingletonClass())); }
Function(Ruby runtime, RubyClass klass, MemoryIO address, Type returnType, Type[] parameterTypes, CallingConvention convention, IRubyObject enums, boolean saveError) { super(runtime, klass, parameterTypes.length, address); this.functionInfo = new NativeFunctionInfo(runtime, returnType, parameterTypes, convention); function = new com.kenai.jffi.Function(address.address(), functionInfo.jffiReturnType, functionInfo.jffiParameterTypes, functionInfo.convention, saveError); this.enums = enums; this.saveError = saveError; // Wire up Function#call(*args) to use the super-fast native invokers getSingletonClass().addMethod("call", createDynamicMethod(getSingletonClass())); }
Function(Ruby runtime, RubyClass klass, MemoryIO address, Type returnType, Type[] parameterTypes, CallingConvention convention, IRubyObject enums, boolean saveError) { super(runtime, klass, parameterTypes.length, address); this.functionInfo = new NativeFunctionInfo(runtime, returnType, parameterTypes, convention); function = new com.kenai.jffi.Function(address.address(), functionInfo.jffiReturnType, functionInfo.jffiParameterTypes, functionInfo.convention, saveError); this.enums = enums; this.saveError = saveError; // Wire up Function#call(*args) to use the super-fast native invokers getSingletonClass().addMethod("call", createDynamicMethod(getSingletonClass())); }