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