lib/ruby/truffle/pr-zlib/lib/pr/rbzlib.rb
# Push one byte back onto the stream.
#
Push one byte back onto the stream.
Push one byte back onto the stream .
def gzungetc(c, file)
    s = file
    return Z_EOF if s.nil? || s.mode != 'r' || c == Z_EOF || s.back != Z_EOF
    s.back = c
    s.out -= 1
    s.last = (s.z_err == Z_STREAM_END)
    s.z_err = Z_OK if s.last
    s.z_eof = false
    return c
  end
def gzungetc ( c , file ) s = file return Z_EOF if s . nil? || s . mode != 'r' || c == Z_EOF || s . back != Z_EOF s . back = c s . out -= 1 s . last = ( s . z_err == Z_STREAM_END ) s . z_err = Z_OK if s . last s . z_eof = false return c end
Push one byte back onto the stream.
Push one byte back onto the stream .
c
<not_specific>
file
<not_specific>