summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-13 17:49:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-13 17:49:59 (GMT)
commitc21d106c22d6a245cc459fe9958e9799b4d80d13 (patch)
tree9d7cce97fc9a754c7b9bacc31fc9d68193b470ac
parent59a41732f410e4227a8de32025a882c26e825f9c (diff)
downloadtcl-c21d106c22d6a245cc459fe9958e9799b4d80d13.zip
tcl-c21d106c22d6a245cc459fe9958e9799b4d80d13.tar.gz
tcl-c21d106c22d6a245cc459fe9958e9799b4d80d13.tar.bz2
ensure that TIP #139 entries cannot be stub-accessed through tcl.h
-rw-r--r--generic/tclDecls.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/generic/tclDecls.h b/generic/tclDecls.h
index 6eb8340..483b471 100644
--- a/generic/tclDecls.h
+++ b/generic/tclDecls.h
@@ -4603,6 +4603,19 @@ extern TclStubs *tclStubsPtr;
#undef TclBackgroundException
#undef TclGetErrorLine
#undef TclSetErrorLine
+
+#undef Tcl_CreateNamespace
+#undef Tcl_DeleteNamespace
+#undef Tcl_AppendExportList
+#undef Tcl_Export
+#undef Tcl_Import
+#undef Tcl_ForgetImport
+#undef Tcl_GetCurrentNamespace
+#undef Tcl_GetGlobalNamespace
+#undef Tcl_FindNamespace
+#undef Tcl_FindCommand
+#undef Tcl_GetCommandFromObj
+#undef Tcl_GetCommandFullName
#undef TclUnusedStubEntry
#endif /* _TCLDECLS */