diff options
author | dgp <dgp@users.sourceforge.net> | 2006-12-01 15:55:43 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2006-12-01 15:55:43 (GMT) |
commit | 986958b3d40c8667b6f7232cd0d7d7c6987014a6 (patch) | |
tree | e4a04cf8dde40fdd70f655a5519108dcd36b9f83 /generic/tclBasic.c | |
parent | 84e12e85c42e0e68ff5aa6b331aa0d53962f7c5a (diff) | |
download | tcl-986958b3d40c8667b6f7232cd0d7d7c6987014a6.zip tcl-986958b3d40c8667b6f7232cd0d7d7c6987014a6.tar.gz tcl-986958b3d40c8667b6f7232cd0d7d7c6987014a6.tar.bz2 |
TIP#287 IMPLEMENTATION
* doc/chan.n: New subcommand [chan pending].
* generic/tclBasic.c: Thanks to Michael Cleverly for proposal
* generic/tclInt.h: and implementation.
* generic/tclIOCmd.c:
* library/init.tcl:
* tests/chan.test:
* tests/ioCmd.test:
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 5df0a81..a3fb387 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclBasic.c,v 1.222 2006/11/29 15:01:26 dgp Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.223 2006/12/01 15:55:44 dgp Exp $ */ #include "tclInt.h" @@ -574,6 +574,10 @@ Tcl_CreateInterp(void) Tcl_CreateObjCommand(interp, "::tcl::chan::rPostevent", TclChanPostEventObjCmd, (ClientData) NULL, NULL); + /* TIP #287 */ + Tcl_CreateObjCommand(interp, "::tcl::chan::Pending", + TclChanPendingObjCmd, (ClientData) NULL, NULL); + /* * Register the built-in functions. This is empty now that they are * implemented as commands in the ::tcl::mathfunc namespace. |