/* * Allocates +size+ bytes of free space in the output buffer. If there are more * than +size+ bytes already in the buffer, the buffer is truncated. Because * free space is allocated automatically, you usually don't need to use this * method. */ static VALUE rb_zstream_set_avail_out(obj, size) VALUE obj, size; { struct zstream *z = get_zstream(obj); Check_Type(size, T_FIXNUM); zstream_expand_buffer_into(z, FIX2INT(size)); return size; }