;;; -*- Gerbil -*-
;;; (C) vyzo at hackzen.org
;;; zlib FFI
prelude: :std/ssi
package: std/text

(export #t)
(defruntime
  Z_OK Z_STREAM_END Z_NEED_DICT
  Z_NO_COMPRESSION Z_BEST_SPEED Z_BEST_COMPRESSION Z_DEFAULT_COMPRESSION
  Z_FINISH Z_NO_FLUSH
  make_z_stream
  z_stream_total_in z_stream_total_out
  z_stream_avail_in z_stream_avail_out
  z_stream_msg
  compressBound compress2
  inflateInit inflate inflateEnd
  deflateInit deflateInit_gz deflate deflateEnd deflateBound
  )
(load-module "std/text/_zlib")
