diff options
author | andreas_kupries <akupries@shaw.ca> | 2008-06-06 19:46:35 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2008-06-06 19:46:35 (GMT) |
commit | 17aeda99fb77f6fa2cd10e1dbc86bc85e57fe242 (patch) | |
tree | 96af59b1ecf59bdc3c1c967f9d92698f55565436 /generic/tclVar.c | |
parent | a916d8993dbe62acec6ca7baf3bcf33ce5778a7f (diff) | |
download | tcl-17aeda99fb77f6fa2cd10e1dbc86bc85e57fe242.zip tcl-17aeda99fb77f6fa2cd10e1dbc86bc85e57fe242.tar.gz tcl-17aeda99fb77f6fa2cd10e1dbc86bc85e57fe242.tar.bz2 |
TIP #230 IMPLEMENTATION
* generic/tclIOCmd.c: Integration of transform commands into 'chan' ensemble.
* generic/tclInt.h: Definitions of the transform commands.
* generic/tclIORTrans.c: Implementation of the reflection transforms.
* tests/chan.test: Tests updated for new sub-commands of 'chan'.
* tests/ioCmd.test: Tests updated for new sub-commands of 'chan'.
* tests/ioTrans.test: Whole new set of tests for the reflection transform.
* unix/Makefile.in: Integration of new files into build rules.
* win/Makefile.in: Integration of new files into build rules.
* win/makefile.vc: Integration of new files into build rules.
NOTE: The file 'tclIORTrans.c' has a lot of code in common with
the file 'tclIORChan.c', as that made it much easier to
develop the reference implementation as a separate
module. Now that the transforms have been committed the one
thing left to do is to go over both modules and see which of
the common parts we can factor out and share.
Diffstat (limited to 'generic/tclVar.c')
-rw-r--r-- | generic/tclVar.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclVar.c b/generic/tclVar.c index b7bdcaf..6279064 100644 --- a/generic/tclVar.c +++ b/generic/tclVar.c @@ -16,7 +16,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclVar.c,v 1.162 2008/05/23 21:05:13 andreas_kupries Exp $ + * RCS: @(#) $Id: tclVar.c,v 1.163 2008/06/06 19:46:37 andreas_kupries Exp $ */ #include "tclInt.h" @@ -67,8 +67,10 @@ VarHashCreateVar( #define VarHashFindVar(tablePtr, key) \ VarHashCreateVar((tablePtr), (key), NULL) + #define VarHashInvalidateEntry(varPtr) \ ((varPtr)->flags |= VAR_DEAD_HASH) + #define VarHashDeleteEntry(varPtr) \ Tcl_DeleteHashEntry(&(((VarInHash *) varPtr)->entry)) |