summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadShl.c
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2002-07-18 16:26:00 (GMT)
committervincentdarley <vincentdarley>2002-07-18 16:26:00 (GMT)
commit4bb72e7bf13c65b6744c9dd1ab7580494cfeaa69 (patch)
tree637913dec4ebf406528191827f1ccc5700d994e7 /unix/tclLoadShl.c
parent20201e313950ca2b4b8af678b6527c4c14c8f7c5 (diff)
downloadtcl-4bb72e7bf13c65b6744c9dd1ab7580494cfeaa69.zip
tcl-4bb72e7bf13c65b6744c9dd1ab7580494cfeaa69.tar.gz
tcl-4bb72e7bf13c65b6744c9dd1ab7580494cfeaa69.tar.bz2
Tcl_LoadHandle usage
Diffstat (limited to 'unix/tclLoadShl.c')
-rw-r--r--unix/tclLoadShl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/unix/tclLoadShl.c b/unix/tclLoadShl.c
index 9baadc6..84ef9fa 100644
--- a/unix/tclLoadShl.c
+++ b/unix/tclLoadShl.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: tclLoadShl.c,v 1.11 2002/07/18 15:04:54 vincentdarley Exp $
+ * RCS: @(#) $Id: tclLoadShl.c,v 1.12 2002/07/18 16:26:04 vincentdarley Exp $
*/
#include <dl.h>
@@ -48,7 +48,7 @@ TclpDlopen(interp, pathPtr, loadHandle, unloadProcPtr)
Tcl_Interp *interp; /* Used for error reporting. */
Tcl_Obj *pathPtr; /* Name of the file containing the desired
* code (UTF-8). */
- TclLoadHandle *loadHandle; /* Filled with token for dynamically loaded
+ Tcl_LoadHandle *loadHandle; /* Filled with token for dynamically loaded
* file which will be passed back to
* (*unloadProcPtr)() to unload the file. */
Tcl_FSUnloadFileProc **unloadProcPtr;
@@ -77,7 +77,7 @@ TclpDlopen(interp, pathPtr, loadHandle, unloadProcPtr)
"\": ", Tcl_PosixError(interp), (char *) NULL);
return TCL_ERROR;
}
- *loadHandle = (TclLoadHandle) handle;
+ *loadHandle = (Tcl_LoadHandle) handle;
*unloadProcPtr = &TclpUnloadFile;
return TCL_OK;
}
@@ -100,7 +100,7 @@ TclpDlopen(interp, pathPtr, loadHandle, unloadProcPtr)
Tcl_PackageInitProc*
TclpFindSymbol(interp, loadHandle, symbol)
Tcl_Interp *interp;
- TclLoadHandle loadHandle;
+ Tcl_LoadHandle loadHandle;
CONST char *symbol;
{
Tcl_DString newName;
@@ -146,7 +146,7 @@ TclpFindSymbol(interp, loadHandle, symbol)
void
TclpUnloadFile(loadHandle)
- TclLoadHandle loadHandle; /* loadHandle returned by a previous call
+ Tcl_LoadHandle loadHandle; /* loadHandle returned by a previous call
* to TclpDlopen(). The loadHandle is
* a token that represents the loaded
* file. */