diff options
author | stu <stwo@users.sourceforge.net> | 2017-06-05 18:33:57 (GMT) |
---|---|---|
committer | stu <stwo@users.sourceforge.net> | 2017-06-05 18:33:57 (GMT) |
commit | a323b71adcc1795f6d3e38d0a3a51ff10b8d76b9 (patch) | |
tree | 16d4f7c60c955d540aaee31eb84bff501bcb5f70 /generic/tcl.decls | |
parent | 51b616c6fb451a91e7ac680f3998eef84c352658 (diff) | |
download | tcl-stwo_dev86.zip tcl-stwo_dev86.tar.gz tcl-stwo_dev86.tar.bz2 |
Change the return type of Tcl_RegisterChannel from void to Tcl_Channel and have Tcl_RegisterChannel return the channel. his is a convenience to the programmer.stwo_dev86
Diffstat (limited to 'generic/tcl.decls')
-rw-r--r-- | generic/tcl.decls | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tcl.decls b/generic/tcl.decls index 4d4bf5f..cca6f08 100644 --- a/generic/tcl.decls +++ b/generic/tcl.decls @@ -748,7 +748,7 @@ declare 209 { int Tcl_RecordAndEvalObj(Tcl_Interp *interp, Tcl_Obj *cmdPtr, int flags) } declare 210 { - void Tcl_RegisterChannel(Tcl_Interp *interp, Tcl_Channel chan) + Tcl_Channel Tcl_RegisterChannel(Tcl_Interp *interp, Tcl_Channel chan) } declare 211 { void Tcl_RegisterObjType(const Tcl_ObjType *typePtr) |