public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1) { HeapInvocationBuffer buffer = new HeapInvocationBuffer(function); if (needsInvocationSession) { Invocation invocation = new Invocation(context, postInvokeCount, referenceCount); try { parameterMarshallers[0].marshal(invocation, buffer, arg1); return functionInvoker.invoke(context, function, buffer); } finally { invocation.finish(); } } else { parameterMarshallers[0].marshal(context, buffer, arg1); return functionInvoker.invoke(context, function, buffer); } }
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1) { HeapInvocationBuffer buffer = new HeapInvocationBuffer(function); if (needsInvocationSession) { Invocation invocation = new Invocation(context, postInvokeCount, referenceCount); try { parameterMarshallers[0].marshal(invocation, buffer, arg1); return functionInvoker.invoke(context, function, buffer); } finally { invocation.finish(); } } else { parameterMarshallers[0].marshal(context, buffer, arg1); return functionInvoker.invoke(context, function, buffer); } }
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1) { HeapInvocationBuffer buffer = new HeapInvocationBuffer(function); if (needsInvocationSession) { Invocation invocation = new Invocation(context, postInvokeCount, referenceCount); try { parameterMarshallers[0].marshal(invocation, buffer, arg1); return functionInvoker.invoke(context, function, buffer); } finally { invocation.finish(); } } else { parameterMarshallers[0].marshal(context, buffer, arg1); return functionInvoker.invoke(context, function, buffer); } }
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1) { HeapInvocationBuffer buffer = new HeapInvocationBuffer(function); if (needsInvocationSession) { Invocation invocation = new Invocation(context, postInvokeCount, referenceCount); try { parameterMarshallers[0].marshal(invocation, buffer, arg1); return functionInvoker.invoke(context, function, buffer); } finally { invocation.finish(); } } else { parameterMarshallers[0].marshal(context, buffer, arg1); return functionInvoker.invoke(context, function, buffer); } }
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject[] args) { HeapInvocationBuffer buffer = new HeapInvocationBuffer(function); if (needsInvocationSession) { Invocation invocation = new Invocation(context, postInvokeCount, referenceCount); try { for (int i = 0; i < args.length; ++i) { parameterMarshallers[i].marshal(invocation, buffer, args[i]); } return functionInvoker.invoke(context, function, buffer); } finally { invocation.finish(); } } else { for (int i = 0; i < args.length; ++i) { parameterMarshallers[i].marshal(context, buffer, args[i]); } return functionInvoker.invoke(context, function, buffer); } }
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject[] args) { HeapInvocationBuffer buffer = new HeapInvocationBuffer(function); if (needsInvocationSession) { Invocation invocation = new Invocation(context, postInvokeCount, referenceCount); try { for (int i = 0; i < args.length; ++i) { parameterMarshallers[i].marshal(invocation, buffer, args[i]); } return functionInvoker.invoke(context, function, buffer); } finally { invocation.finish(); } } else { for (int i = 0; i < args.length; ++i) { parameterMarshallers[i].marshal(context, buffer, args[i]); } return functionInvoker.invoke(context, function, buffer); } }
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject[] args) { HeapInvocationBuffer buffer = new HeapInvocationBuffer(function); if (needsInvocationSession) { Invocation invocation = new Invocation(context, postInvokeCount, referenceCount); try { for (int i = 0; i < args.length; ++i) { parameterMarshallers[i].marshal(invocation, buffer, args[i]); } return functionInvoker.invoke(context, function, buffer); } finally { invocation.finish(); } } else { for (int i = 0; i < args.length; ++i) { parameterMarshallers[i].marshal(context, buffer, args[i]); } return functionInvoker.invoke(context, function, buffer); } }
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject[] args) { HeapInvocationBuffer buffer = new HeapInvocationBuffer(function); if (needsInvocationSession) { Invocation invocation = new Invocation(context, postInvokeCount, referenceCount); try { for (int i = 0; i < args.length; ++i) { parameterMarshallers[i].marshal(invocation, buffer, args[i]); } return functionInvoker.invoke(context, function, buffer); } finally { invocation.finish(); } } else { for (int i = 0; i < args.length; ++i) { parameterMarshallers[i].marshal(context, buffer, args[i]); } return functionInvoker.invoke(context, function, buffer); } }
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1, IRubyObject arg2) { HeapInvocationBuffer buffer = new HeapInvocationBuffer(function); if (needsInvocationSession) { Invocation invocation = new Invocation(context, postInvokeCount, referenceCount); try { parameterMarshallers[0].marshal(invocation, buffer, arg1); parameterMarshallers[1].marshal(invocation, buffer, arg2); return functionInvoker.invoke(context, function, buffer); } finally { invocation.finish(); } } else { parameterMarshallers[0].marshal(context, buffer, arg1); parameterMarshallers[1].marshal(context, buffer, arg2); return functionInvoker.invoke(context, function, buffer); } }
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1, IRubyObject arg2) { HeapInvocationBuffer buffer = new HeapInvocationBuffer(function); if (needsInvocationSession) { Invocation invocation = new Invocation(context, postInvokeCount, referenceCount); try { parameterMarshallers[0].marshal(invocation, buffer, arg1); parameterMarshallers[1].marshal(invocation, buffer, arg2); return functionInvoker.invoke(context, function, buffer); } finally { invocation.finish(); } } else { parameterMarshallers[0].marshal(context, buffer, arg1); parameterMarshallers[1].marshal(context, buffer, arg2); return functionInvoker.invoke(context, function, buffer); } }
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1, IRubyObject arg2) { HeapInvocationBuffer buffer = new HeapInvocationBuffer(function); if (needsInvocationSession) { Invocation invocation = new Invocation(context, postInvokeCount, referenceCount); try { parameterMarshallers[0].marshal(invocation, buffer, arg1); parameterMarshallers[1].marshal(invocation, buffer, arg2); return functionInvoker.invoke(context, function, buffer); } finally { invocation.finish(); } } else { parameterMarshallers[0].marshal(context, buffer, arg1); parameterMarshallers[1].marshal(context, buffer, arg2); return functionInvoker.invoke(context, function, buffer); } }
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1, IRubyObject arg2) { HeapInvocationBuffer buffer = new HeapInvocationBuffer(function); if (needsInvocationSession) { Invocation invocation = new Invocation(context, postInvokeCount, referenceCount); try { parameterMarshallers[0].marshal(invocation, buffer, arg1); parameterMarshallers[1].marshal(invocation, buffer, arg2); return functionInvoker.invoke(context, function, buffer); } finally { invocation.finish(); } } else { parameterMarshallers[0].marshal(context, buffer, arg1); parameterMarshallers[1].marshal(context, buffer, arg2); return functionInvoker.invoke(context, function, buffer); } }
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) { HeapInvocationBuffer buffer = new HeapInvocationBuffer(function); if (needsInvocationSession) { Invocation invocation = new Invocation(context, postInvokeCount, referenceCount); try { parameterMarshallers[0].marshal(invocation, buffer, arg1); parameterMarshallers[1].marshal(invocation, buffer, arg2); parameterMarshallers[2].marshal(invocation, buffer, arg3); return functionInvoker.invoke(context, function, buffer); } finally { invocation.finish(); } } else { parameterMarshallers[0].marshal(context, buffer, arg1); parameterMarshallers[1].marshal(context, buffer, arg2); parameterMarshallers[2].marshal(context, buffer, arg3); return functionInvoker.invoke(context, function, buffer); } }
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) { HeapInvocationBuffer buffer = new HeapInvocationBuffer(function); if (needsInvocationSession) { Invocation invocation = new Invocation(context, postInvokeCount, referenceCount); try { parameterMarshallers[0].marshal(invocation, buffer, arg1); parameterMarshallers[1].marshal(invocation, buffer, arg2); parameterMarshallers[2].marshal(invocation, buffer, arg3); return functionInvoker.invoke(context, function, buffer); } finally { invocation.finish(); } } else { parameterMarshallers[0].marshal(context, buffer, arg1); parameterMarshallers[1].marshal(context, buffer, arg2); parameterMarshallers[2].marshal(context, buffer, arg3); return functionInvoker.invoke(context, function, buffer); } }
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) { HeapInvocationBuffer buffer = new HeapInvocationBuffer(function); if (needsInvocationSession) { Invocation invocation = new Invocation(context, postInvokeCount, referenceCount); try { parameterMarshallers[0].marshal(invocation, buffer, arg1); parameterMarshallers[1].marshal(invocation, buffer, arg2); parameterMarshallers[2].marshal(invocation, buffer, arg3); return functionInvoker.invoke(context, function, buffer); } finally { invocation.finish(); } } else { parameterMarshallers[0].marshal(context, buffer, arg1); parameterMarshallers[1].marshal(context, buffer, arg2); parameterMarshallers[2].marshal(context, buffer, arg3); return functionInvoker.invoke(context, function, buffer); } }
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) { HeapInvocationBuffer buffer = new HeapInvocationBuffer(function); if (needsInvocationSession) { Invocation invocation = new Invocation(context, postInvokeCount, referenceCount); try { parameterMarshallers[0].marshal(invocation, buffer, arg1); parameterMarshallers[1].marshal(invocation, buffer, arg2); parameterMarshallers[2].marshal(invocation, buffer, arg3); return functionInvoker.invoke(context, function, buffer); } finally { invocation.finish(); } } else { parameterMarshallers[0].marshal(context, buffer, arg1); parameterMarshallers[1].marshal(context, buffer, arg2); parameterMarshallers[2].marshal(context, buffer, arg3); return functionInvoker.invoke(context, function, buffer); } }
Invocation invocation = new Invocation(context); Function function = new Function(address.getAddress(), returnType, ffiParamTypes, convention, saveError); try {
Invocation invocation = new Invocation(context); Function function = new Function(address.getAddress(), returnType, ffiParamTypes, convention, saveError); try {
Invocation invocation = new Invocation(context); Function function = new Function(address.getAddress(), returnType, ffiParamTypes, convention); try {
Invocation invocation = new Invocation(context); Function function = new Function(address.getAddress(), returnType, ffiParamTypes, convention); try {