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