예제 #1
0
 public final void marshal(
     ThreadContext context, InvocationBuffer buffer, IRubyObject parameter) {
   buffer.putShort(Util.int16Value(parameter));
 }
예제 #2
0
 public final void marshal(
     Invocation invocation, InvocationBuffer buffer, IRubyObject parameter) {
   buffer.putShort(Util.int16Value(parameter));
 }
예제 #3
0
 public final int intValue(ThreadContext context, IRubyObject obj) {
   return Util.int16Value(obj);
 }