summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-12-19 11:23:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-12-19 11:23:13 (GMT)
commitee66488c3683d1e2b6ac36f523638c42c5649433 (patch)
treea0ea11d5e0652dbe305b67358e441b21fdca104e /generic/tclCompile.h
parentf64bba0499c121428187fe686da131dca5905e50 (diff)
downloadtcl-ee66488c3683d1e2b6ac36f523638c42c5649433.zip
tcl-ee66488c3683d1e2b6ac36f523638c42c5649433.tar.gz
tcl-ee66488c3683d1e2b6ac36f523638c42c5649433.tar.bz2
Make TclEnsureNamespace() MODULE_SCOPE. Also change some refCount fields from type "int" to "unsigned int" for increased range.
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r--generic/tclCompile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h
index 7f01436..f20ecfd 100644
--- a/generic/tclCompile.h
+++ b/generic/tclCompile.h
@@ -425,11 +425,11 @@ typedef struct ByteCode {
* compiled. If the code is executed if a
* different namespace, it must be
* recompiled. */
- unsigned int nsEpoch; /* Value of nsPtr->resolverEpoch when this
+ unsigned int nsEpoch; /* Value of nsPtr->resolverEpoch when this
* ByteCode was compiled. Used to invalidate
* code when new namespace resolution rules
* are put into effect. */
- int refCount; /* Reference count: set 1 when created plus 1
+ unsigned int refCount; /* Reference count: set 1 when created plus 1
* for each execution of the code currently
* active. This structure can be freed when
* refCount becomes zero. */