diff options
author | vincentdarley <vincentdarley@noemail.net> | 2002-07-18 16:26:00 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley@noemail.net> | 2002-07-18 16:26:00 (GMT) |
commit | 19053462e0297dc1960f94f7049f8d53e82da4c7 (patch) | |
tree | 637913dec4ebf406528191827f1ccc5700d994e7 /unix/tclLoadShl.c | |
parent | 842dbccdda324c38a88167a6d5db336097377048 (diff) | |
download | tcl-19053462e0297dc1960f94f7049f8d53e82da4c7.zip tcl-19053462e0297dc1960f94f7049f8d53e82da4c7.tar.gz tcl-19053462e0297dc1960f94f7049f8d53e82da4c7.tar.bz2 |
Tcl_LoadHandle usage
FossilOrigin-Name: 9fb2f4b2d3b817b5cd6de4d3091f889bb7e4e990
Diffstat (limited to 'unix/tclLoadShl.c')
-rw-r--r-- | unix/tclLoadShl.c | 10 |
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. */ |