summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPipe.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2024-06-09 10:33:06 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2024-06-09 10:33:06 (GMT)
commit6c3e36dd5cdd1722d0786499671a6b1df3d2b7e9 (patch)
tree12b9fd3f079b580601477d8d4ca55364786c0c46 /unix/tclUnixPipe.c
parent438e8c810d6f12a0c70f34e9179b647fd956d511 (diff)
downloadtcl-6c3e36dd5cdd1722d0786499671a6b1df3d2b7e9.zip
tcl-6c3e36dd5cdd1722d0786499671a6b1df3d2b7e9.tar.gz
tcl-6c3e36dd5cdd1722d0786499671a6b1df3d2b7e9.tar.bz2
Simpler commenting of Tcl_ChannelType instances; make zip channel type const
Diffstat (limited to 'unix/tclUnixPipe.c')
-rw-r--r--unix/tclUnixPipe.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c
index ea1636e..78bba4f 100644
--- a/unix/tclUnixPipe.c
+++ b/unix/tclUnixPipe.c
@@ -78,23 +78,23 @@ static int SetupStdFile(TclFile file, int type);
*/
static const Tcl_ChannelType pipeChannelType = {
- "pipe", /* Type name. */
- TCL_CHANNEL_VERSION_5, /* v5 channel */
- NULL, /* Close proc. */
- PipeInputProc, /* Input proc. */
- PipeOutputProc, /* Output proc. */
- NULL, /* Seek proc. */
+ "pipe",
+ TCL_CHANNEL_VERSION_5,
+ NULL, /* Deprecated. */
+ PipeInputProc,
+ PipeOutputProc,
+ NULL, /* Deprecated. */
NULL, /* Set option proc. */
NULL, /* Get option proc. */
- PipeWatchProc, /* Initialize notifier. */
- PipeGetHandleProc, /* Get OS handles out of channel. */
- PipeClose2Proc, /* close2proc. */
- PipeBlockModeProc, /* Set blocking or non-blocking mode.*/
- NULL, /* flush proc. */
- NULL, /* handler proc. */
- NULL, /* wide seek proc */
- NULL, /* thread action proc */
- NULL /* truncation */
+ PipeWatchProc,
+ PipeGetHandleProc,
+ PipeClose2Proc,
+ PipeBlockModeProc,
+ NULL, /* Flush proc. */
+ NULL, /* Bubbled event handler proc. */
+ NULL, /* Seek proc. */
+ NULL, /* Thread action proc. */
+ NULL /* Truncation proc. */
};
/*