diff options
author | nijtmans <nijtmans> | 2008-10-04 12:33:34 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-10-04 12:33:34 (GMT) |
commit | 0cc58bcc1ebada2169f5e943bd09f446556c7ccf (patch) | |
tree | eb77cc8298b5ed98a3fc54bbf7e2f2e8aaba6d20 /doc/CrtChannel.3 | |
parent | c2c40e8fd014a4c02f7bc7b27aaa7705132a9112 (diff) | |
download | tcl-0cc58bcc1ebada2169f5e943bd09f446556c7ccf.zip tcl-0cc58bcc1ebada2169f5e943bd09f446556c7ccf.tar.gz tcl-0cc58bcc1ebada2169f5e943bd09f446556c7ccf.tar.bz2 |
* doc/ChnlStack.3: CONSTified the typePtr argument
* doc/CrtChannel.3: of Tcl_CreateChannel and Tcl_StackChannel
* generic/tcl.decls and the return value of Tcl_GetChannelType
* generic/tcl.h
* generic/tclIO.h
* generic/tclIO.c
* ChangeLog
* generic/tclDecls.h: regenerated
This change complies with TIP #27.
Diffstat (limited to 'doc/CrtChannel.3')
-rw-r--r-- | doc/CrtChannel.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/CrtChannel.3 b/doc/CrtChannel.3 index a4a6c4c..1aaf3be 100644 --- a/doc/CrtChannel.3 +++ b/doc/CrtChannel.3 @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: CrtChannel.3,v 1.41 2008/06/29 22:28:23 dkf Exp $ +'\" RCS: @(#) $Id: CrtChannel.3,v 1.42 2008/10/04 12:33:34 nijtmans Exp $ .so man.macros .TH Tcl_CreateChannel 3 8.4 Tcl "Tcl Library Procedures" .BS @@ -22,7 +22,7 @@ Tcl_Channel ClientData \fBTcl_GetChannelInstanceData\fR(\fIchannel\fR) .sp -Tcl_ChannelType * +const Tcl_ChannelType * \fBTcl_GetChannelType\fR(\fIchannel\fR) .sp const char * @@ -312,7 +312,7 @@ details about the old structure. The \fBTcl_ChannelType\fR structure contains the following fields: .CS typedef struct Tcl_ChannelType { - char *\fItypeName\fR; + const char *\fItypeName\fR; Tcl_ChannelTypeVersion \fIversion\fR; Tcl_DriverCloseProc *\fIcloseProc\fR; Tcl_DriverInputProc *\fIinputProc\fR; @@ -875,7 +875,7 @@ the following fields: .PP .CS typedef struct Tcl_ChannelType { - char *\fItypeName\fR; + const char *\fItypeName\fR; Tcl_DriverBlockModeProc *\fIblockModeProc\fR; Tcl_DriverCloseProc *\fIcloseProc\fR; Tcl_DriverInputProc *\fIinputProc\fR; @@ -901,7 +901,7 @@ contained the following fields: .PP .CS typedef struct Tcl_ChannelType { - char *\fItypeName\fR; + const char *\fItypeName\fR; Tcl_ChannelTypeVersion \fIversion\fR; Tcl_DriverCloseProc *\fIcloseProc\fR; Tcl_DriverInputProc *\fIinputProc\fR; |