summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-04-21 19:04:08 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-04-21 19:04:08 (GMT)
commit5407657340a624d763a1c122624a5b5da218f911 (patch)
tree812d23cc45f6ea63bd523ba8fc2c441a5c0d297f /generic/tclIO.h
parenta1e839f080f7946041e6934a91baefb9da50ba61 (diff)
parenta07adf4d6d28771d9aa74ef06526e5fb3035f5c1 (diff)
downloadtcl-5407657340a624d763a1c122624a5b5da218f911.zip
tcl-5407657340a624d763a1c122624a5b5da218f911.tar.gz
tcl-5407657340a624d763a1c122624a5b5da218f911.tar.bz2
Merge refcounting machinery for ChannelBuffer.
Diffstat (limited to 'generic/tclIO.h')
-rw-r--r--generic/tclIO.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclIO.h b/generic/tclIO.h
index e84f300..1e02749 100644
--- a/generic/tclIO.h
+++ b/generic/tclIO.h
@@ -36,6 +36,7 @@
*/
typedef struct ChannelBuffer {
+ int refCount; /* Current uses count */
int nextAdded; /* The next position into which a character
* will be put in the buffer. */
int nextRemoved; /* Position of next byte to be removed from