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