diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2004-12-24 18:06:53 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2004-12-24 18:06:53 (GMT) |
commit | 3c1e7bd70247b897a1e6f47d8fcb6d50de880aea (patch) | |
tree | 3c5ff4f02494bc5285f2fcf529ccf0a76dd8885c /generic/tclInt.h | |
parent | 3f7f31fb81efcc04c41dcc79f2417a766353ad66 (diff) | |
download | tcl-3c1e7bd70247b897a1e6f47d8fcb6d50de880aea.zip tcl-3c1e7bd70247b897a1e6f47d8fcb6d50de880aea.tar.gz tcl-3c1e7bd70247b897a1e6f47d8fcb6d50de880aea.tar.bz2 |
Avoid sharing cmdName literals accross namespaces, and generalise usage of
the TclRegisterNewLiteral macro [Patch 1090905]
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 5f10b46..0bd71f0 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclInt.h,v 1.208 2004/12/16 19:36:34 dkf Exp $ + * RCS: @(#) $Id: tclInt.h,v 1.209 2004/12/24 18:07:00 msofer Exp $ */ #ifndef _TCLINT @@ -973,6 +973,11 @@ typedef struct LiteralEntry { * entry can be freed when refCount * drops to 0. If in a local literal * table, -1. */ + Namespace *nsPtr; /* Namespace in which this literal is + * used. We try to avoid sharing + * literal non-FQ command names among + * different namespaces to reduce + * shimmering.*/ } LiteralEntry; typedef struct LiteralTable { |