public void marshal(ThreadContext context, InvocationBuffer buffer, IRubyObject parameter) { nativeMarshaller.marshal(context, buffer, converter.toNative(context, parameter)); }
public void marshal(ThreadContext context, InvocationBuffer buffer, IRubyObject parameter) { nativeMarshaller.marshal(context, buffer, converter.toNative(context, parameter)); }
public void marshal(ThreadContext context, InvocationBuffer buffer, IRubyObject parameter) { nativeMarshaller.marshal(context, buffer, converter.toNative(context, parameter)); }
public void marshal(ThreadContext context, InvocationBuffer buffer, IRubyObject parameter) { nativeMarshaller.marshal(context, buffer, converter.toNative(context, parameter)); }
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) { 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) { 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 void marshal(Invocation invocation, InvocationBuffer buffer, IRubyObject parameter) { ThreadContext context = invocation.getThreadContext(); final IRubyObject nativeValue = converter.toNative(context, parameter); // keep a hard ref to the converted value if needed if (converter.isReferenceRequired()) { invocation.addReference(nativeValue); } nativeMarshaller.marshal(context, buffer, nativeValue); }
public void marshal(Invocation invocation, InvocationBuffer buffer, IRubyObject parameter) { ThreadContext context = invocation.getThreadContext(); final IRubyObject nativeValue = converter.toNative(context, parameter); // keep a hard ref to the converted value if needed if (converter.isReferenceRequired()) { invocation.addReference(nativeValue); } nativeMarshaller.marshal(context, buffer, nativeValue); }
public void marshal(Invocation invocation, InvocationBuffer buffer, IRubyObject parameter) { ThreadContext context = invocation.getThreadContext(); final IRubyObject nativeValue = converter.toNative(context, parameter); // keep a hard ref to the converted value if needed if (converter.isReferenceRequired()) { invocation.addReference(nativeValue); } nativeMarshaller.marshal(context, buffer, nativeValue); }
public void marshal(Invocation invocation, InvocationBuffer buffer, IRubyObject parameter) { ThreadContext context = invocation.getThreadContext(); final IRubyObject nativeValue = converter.toNative(context, parameter); // keep a hard ref to the converted value if needed if (converter.isReferenceRequired()) { invocation.addReference(nativeValue); } nativeMarshaller.marshal(context, buffer, nativeValue); }