summaryrefslogtreecommitdiffstats
path: root/generic/tclZlib.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-08-01 13:21:04 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-08-01 13:21:04 (GMT)
commitf370c68d92b4669981b3fa2574a2e32fa1911595 (patch)
tree2149a8c7d9b36cfde69447e1911f9ed252e95617 /generic/tclZlib.c
parentf8e147cb73f34eb486c128a840ceddacdee2677b (diff)
downloadtcl-f370c68d92b4669981b3fa2574a2e32fa1911595.zip
tcl-f370c68d92b4669981b3fa2574a2e32fa1911595.tar.gz
tcl-f370c68d92b4669981b3fa2574a2e32fa1911595.tar.bz2
Support type discovery in coroutines.
Diffstat (limited to 'generic/tclZlib.c')
-rw-r--r--generic/tclZlib.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/generic/tclZlib.c b/generic/tclZlib.c
index 9bceb4c..4907b45 100644
--- a/generic/tclZlib.c
+++ b/generic/tclZlib.c
@@ -3868,6 +3868,12 @@ TclZlibInit(
Tcl_RegisterConfig(interp, "zlib", cfg, "iso8859-1");
/*
+ * Allow command type introspection to do something sensible with streams.
+ */
+
+ TclRegisterCommandTypeName(ZlibStreamCmd, "zlibStream");
+
+ /*
* Formally provide the package as a Tcl built-in.
*/