summaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley@noemail.net>2001-09-04 18:06:33 (GMT)
committervincentdarley <vincentdarley@noemail.net>2001-09-04 18:06:33 (GMT)
commit3753395ac33ddd9bb7a098692cfcb2a4a3bc595c (patch)
treefe242e0e386c2472085adf41540fa813c334a000 /mac
parent1fad82cb66ef1b8a46bd45a3661a1f0e338fce96 (diff)
downloadtcl-3753395ac33ddd9bb7a098692cfcb2a4a3bc595c.zip
tcl-3753395ac33ddd9bb7a098692cfcb2a4a3bc595c.tar.gz
tcl-3753395ac33ddd9bb7a098692cfcb2a4a3bc595c.tar.bz2
minor fs, vfs fixes
FossilOrigin-Name: e50cc64ecbf8361559ffca6a1988f616b2674078
Diffstat (limited to 'mac')
-rw-r--r--mac/tclMacLoad.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/mac/tclMacLoad.c b/mac/tclMacLoad.c
index fd355ae..ef9da8e 100644
--- a/mac/tclMacLoad.c
+++ b/mac/tclMacLoad.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclMacLoad.c,v 1.5 2001/08/30 08:53:15 vincentdarley Exp $
+ * RCS: @(#) $Id: tclMacLoad.c,v 1.6 2001/09/04 18:06:34 vincentdarley Exp $
*/
#include <CodeFragments.h>
@@ -107,9 +107,13 @@ TclpLoadFile(
Tcl_PackageInitProc **proc2Ptr,
/* Where to return the addresses corresponding
* to sym1 and sym2. */
- ClientData *clientDataPtr) /* Filled with token for dynamically loaded
+ ClientData *clientDataPtr; /* Filled with token for dynamically loaded
* file which will be passed back to
- * TclpUnloadFile() to unload the file. */
+ * (*unloadProcPtr)() to unload the file. */
+ Tcl_FSUnloadFileProc **unloadProcPtr)
+ /* Filled with address of Tcl_FSUnloadFileProc
+ * function which should be used for
+ * this file. */
{
CFragConnectionID connID;
Ptr dummy;
@@ -221,6 +225,7 @@ TclpLoadFile(
}
*clientDataPtr = (ClientData) connID;
+ *unloadProcPtr = &TclpUnloadFile;
return TCL_OK;
}