diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-05-10 07:50:31 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-05-10 07:50:31 (GMT) |
commit | a2a03ea8fb6718cc472cc7dcb44f8e68aadb24ba (patch) | |
tree | b27d28ac5054d661fb8510ac1b75127cbf036c79 /generic/tclNamesp.c | |
parent | 740e938393791a7c1fe675b21ece901fa6cbdd74 (diff) | |
parent | 216ea63416cffd9c521476d74fce958860d2acf9 (diff) | |
download | tcl-a2a03ea8fb6718cc472cc7dcb44f8e68aadb24ba.zip tcl-a2a03ea8fb6718cc472cc7dcb44f8e68aadb24ba.tar.gz tcl-a2a03ea8fb6718cc472cc7dcb44f8e68aadb24ba.tar.bz2 |
Merge trunk
Diffstat (limited to 'generic/tclNamesp.c')
-rw-r--r-- | generic/tclNamesp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c index 3c23b97..426fd16 100644 --- a/generic/tclNamesp.c +++ b/generic/tclNamesp.c @@ -1086,6 +1086,13 @@ Tcl_DeleteNamespace( } TclNsDecrRefCount(nsPtr); } + +int +TclNamespaceDeleted( + Namespace *nsPtr) +{ + return (nsPtr->flags & NS_DYING) ? 1 : 0; +} /* *---------------------------------------------------------------------- |