diff options
| author | dgp@users.sourceforge.net <dgp> | 2006-12-01 15:55:43 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2006-12-01 15:55:43 (GMT) |
| commit | db6f9175db19aacfbc3b9ae475a998d591d86301 (patch) | |
| tree | e4a04cf8dde40fdd70f655a5519108dcd36b9f83 /generic/tclBasic.c | |
| parent | ae4517607e87f0f0a04f463d6004b6151fad5e77 (diff) | |
| download | tcl-db6f9175db19aacfbc3b9ae475a998d591d86301.zip tcl-db6f9175db19aacfbc3b9ae475a998d591d86301.tar.gz tcl-db6f9175db19aacfbc3b9ae475a998d591d86301.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. |
