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 /unix/tclLoadShl.c | |
| 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 'unix/tclLoadShl.c')
| -rw-r--r-- | unix/tclLoadShl.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/unix/tclLoadShl.c b/unix/tclLoadShl.c index a92ddf5..876896a 100644 --- a/unix/tclLoadShl.c +++ b/unix/tclLoadShl.c @@ -186,36 +186,6 @@ UnloadFile( } /* - *---------------------------------------------------------------------- - * - * TclGuessPackageName -- - * - * If the "load" command is invoked without providing a package name, - * this procedure is invoked to try to figure it out. - * - * Results: - * Always returns 0 to indicate that we couldn't figure out a package - * name; generic code will then try to guess the package from the file - * name. A return value of 1 would have meant that we figured out the - * package name and put it in bufPtr. - * - * Side effects: - * None. - * - *---------------------------------------------------------------------- - */ - -int -TclGuessPackageName( - const char *fileName, /* Name of file containing package (already - * translated to local form if needed). */ - Tcl_DString *bufPtr) /* Initialized empty dstring. Append package - * name to this if possible. */ -{ - return 0; -} - -/* * Local Variables: * mode: c * c-basic-offset: 4 |
