aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded/src
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-08-22 10:35:16 +0200
committerLoïc Hoguin <[email protected]>2013-08-22 10:35:16 +0200
commit654c6a115efd5aa871cd453fb27ead8224964825 (patch)
tree8867bddbf8ad40da3ba8f23af18a78ac1f31e0c5 /erts/preloaded/src
parent3cc53db7071988cd8dad0d67c85b3e08a7c6818e (diff)
downloadotp-654c6a115efd5aa871cd453fb27ead8224964825.tar.gz
otp-654c6a115efd5aa871cd453fb27ead8224964825.tar.bz2
otp-654c6a115efd5aa871cd453fb27ead8224964825.zip
Export type zlib:zstream/0
Terms of this type are returned and sometimes sit in states. Exporting it allows us to properly track the types there.
Diffstat (limited to 'erts/preloaded/src')
-rw-r--r--erts/preloaded/src/zlib.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/preloaded/src/zlib.erl b/erts/preloaded/src/zlib.erl
index 1faae1c1f4..54391bd945 100644
--- a/erts/preloaded/src/zlib.erl
+++ b/erts/preloaded/src/zlib.erl
@@ -30,6 +30,8 @@
compress/1,uncompress/1,zip/1,unzip/1,
gzip/1,gunzip/1]).
+-export_type([zstream/0]).
+
%% flush argument encoding
-define(Z_NO_FLUSH, 0).
-define(Z_SYNC_FLUSH, 2).