public final IRubyObject invoke( ThreadContext context, Function function, HeapInvocationBuffer args) { return Util.newSigned16(context.getRuntime(), (short) invoker.invokeInt(function, args)); }
public final IRubyObject invoke(Ruby runtime, Function function, HeapInvocationBuffer args) { return Util.newSigned16(runtime, invoker.invokeInt(function, args)); }
public final IRubyObject fromNative(ThreadContext context, int value) { return Util.newSigned16(context.getRuntime(), (short) value); }