diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-11-06 14:43:48 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-11-06 14:43:48 (GMT) |
commit | 89e3b6811bfe4023587eeb490ddbe14d1c201ffe (patch) | |
tree | 31805c9d69e662165c695ff02c7d1f6830256372 /generic/tclIntDecls.h | |
parent | 3b0ee42270085b039b75e2e27a3a145399a1bfac (diff) | |
parent | 3c53be5e75cfe4cbca25b963b16a6a99229c6136 (diff) | |
download | tcl-89e3b6811bfe4023587eeb490ddbe14d1c201ffe.zip tcl-89e3b6811bfe4023587eeb490ddbe14d1c201ffe.tar.gz tcl-89e3b6811bfe4023587eeb490ddbe14d1c201ffe.tar.bz2 |
Deprecate the (internal) functions TclGuessPackageName/TclGetLoadedPackages functions, since they turn out to be useless. The can be removed in 9.0
Diffstat (limited to 'generic/tclIntDecls.h')
-rw-r--r-- | generic/tclIntDecls.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h index b698c08..71d9f5c 100644 --- a/generic/tclIntDecls.h +++ b/generic/tclIntDecls.h @@ -1413,4 +1413,9 @@ extern const TclIntStubs *tclIntStubsPtr; # define Tcl_StaticPackage (tclIntStubsPtr->tclStaticPackage) #endif +#undef TclGuessPackageName +#ifndef TCL_NO_DEPRECATED +# define TclGuessPackageName(fileName, pkgName) ((void)fileName,(void)pkgName,0) +#endif + #endif /* _TCLINTDECLS */ |