summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadDyld.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-06 14:43:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-06 14:43:48 (GMT)
commit89e3b6811bfe4023587eeb490ddbe14d1c201ffe (patch)
tree31805c9d69e662165c695ff02c7d1f6830256372 /unix/tclLoadDyld.c
parent3b0ee42270085b039b75e2e27a3a145399a1bfac (diff)
parent3c53be5e75cfe4cbca25b963b16a6a99229c6136 (diff)
downloadtcl-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/tclLoadDyld.c')
-rw-r--r--unix/tclLoadDyld.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/unix/tclLoadDyld.c b/unix/tclLoadDyld.c
index ee13350..de738e9 100644
--- a/unix/tclLoadDyld.c
+++ b/unix/tclLoadDyld.c
@@ -468,34 +468,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(
- TCL_UNUSED(const char *) /*fileName*/,
- TCL_UNUSED(Tcl_DString *) /*bufPtr*/)
-{
- return 0;
-}
-
-/*
- *----------------------------------------------------------------------
- *
* TclpLoadMemoryGetBuffer --
*
* Allocate a buffer that can be used with TclpLoadMemory() below.