summaryrefslogtreecommitdiffstats
path: root/generic/tcl.decls
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-12-14 09:40:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-12-14 09:40:56 (GMT)
commit3ee25b501bc980e710bef83abee8153f62114640 (patch)
tree4d2ff4839fbd32a8eba452d3d48dc5b1682e9300 /generic/tcl.decls
parentd787284ee18526d2046981d208a0513d480877eb (diff)
parent4eaff43e124f523dca05591bc760fa9f32eb7672 (diff)
downloadtcl-3ee25b501bc980e710bef83abee8153f62114640.zip
tcl-3ee25b501bc980e710bef83abee8153f62114640.tar.gz
tcl-3ee25b501bc980e710bef83abee8153f62114640.tar.bz2
Merge trunk.
Add more clarity why refCount should be decremented AFTER checking for <2. Protect 8.x extensions for being loadable in "novem", by changing Tcl_PkgProvide into a macro.
Diffstat (limited to 'generic/tcl.decls')
-rw-r--r--generic/tcl.decls3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tcl.decls b/generic/tcl.decls
index 198228b..76d5298 100644
--- a/generic/tcl.decls
+++ b/generic/tcl.decls
@@ -970,8 +970,9 @@ declare 272 {
const char *name, const char *version, int exact,
void *clientDataPtr)
}
+# Changed to a macro, only (internally) exposed for legacy protection.
declare 273 {
- int Tcl_PkgProvide(Tcl_Interp *interp, const char *name,
+ int TclPkgProvide(Tcl_Interp *interp, const char *name,
const char *version)
}
# TIP #268: The internally used new Require function is in slot 573.