summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.h
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2011-10-20 14:37:17 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2011-10-20 14:37:17 (GMT)
commitead276c0000ccd74d54004a0ba0d5d9f9ad31a38 (patch)
tree89dd5227e2bca08d08c10b9211a1f6c325e9f9fa /generic/tclCompile.h
parentab5335a4c951b478bbedd4f5561b8a314da5b074 (diff)
parent37aa42f79dede55e98bf0684b0163c11dfa27f81 (diff)
downloadtcl-ead276c0000ccd74d54004a0ba0d5d9f9ad31a38.zip
tcl-ead276c0000ccd74d54004a0ba0d5d9f9ad31a38.tar.gz
tcl-ead276c0000ccd74d54004a0ba0d5d9f9ad31a38.tar.bz2
Resolver fix from Stefan Sobernig.
* generic/tclLiteral.c (TclInvalidateCmdLiteral): [Bug 3418547]: Additional code for handling the invalidation of literals. * generic/tclBasic.c (Tcl_CreateObjCommand, Tcl_CreateCommand) (TclRenameCommand, Tcl_ExposeCommand): The four additional places that need extra care when dealing with literals. * generic/tclTest.c (TestInterpResolverCmd): Additional test machinery for interpreter resolvers.
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r--generic/tclCompile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h
index e80a710..58663fd 100644
--- a/generic/tclCompile.h
+++ b/generic/tclCompile.h
@@ -960,6 +960,8 @@ MODULE_SCOPE void TclRegisterAuxDataType(const AuxDataType *typePtr);
MODULE_SCOPE int TclRegisterLiteral(CompileEnv *envPtr,
char *bytes, int length, int flags);
MODULE_SCOPE void TclReleaseLiteral(Tcl_Interp *interp, Tcl_Obj *objPtr);
+MODULE_SCOPE void TclInvalidateCmdLiteral(Tcl_Interp *interp,
+ const char *name, Namespace *nsPtr);
MODULE_SCOPE int TclSingleOpCmd(ClientData clientData,
Tcl_Interp *interp, int objc,
Tcl_Obj *const objv[]);