diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-04-07 09:55:24 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-04-07 09:55:24 (GMT) |
commit | 06813163a831a73bcdd74a5341bbc547fbb3e342 (patch) | |
tree | 3621b32733f4eca62779e166f45eccaa23c04402 /unix/tclLoadOSF.c | |
parent | a1ab68d1ea255fa6445c92b5178da5bedca3f6a4 (diff) | |
download | tcl-06813163a831a73bcdd74a5341bbc547fbb3e342.zip tcl-06813163a831a73bcdd74a5341bbc547fbb3e342.tar.gz tcl-06813163a831a73bcdd74a5341bbc547fbb3e342.tar.bz2 |
TIP #595 (for Tcl 8.7) part 1: just rename Tcl_StaticPackage to Tcl_StaticLibrary, Tcl_PackageInitProc to Tcl_LibraryInitProc and Tcl_PackageUnloadProc to Tcl_LibraryUnloadProc. Adapt documentation, mentioning that the old names are now deprecated.
Diffstat (limited to 'unix/tclLoadOSF.c')
-rw-r--r-- | unix/tclLoadOSF.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclLoadOSF.c b/unix/tclLoadOSF.c index 7fd0cf3..bb58871 100644 --- a/unix/tclLoadOSF.c +++ b/unix/tclLoadOSF.c @@ -89,7 +89,7 @@ TclpDlopen( */ native = Tcl_FSGetNativePath(pathPtr); - lm = (Tcl_PackageInitProc *) load(native, LDR_NOFLAGS); + lm = (Tcl_LibraryInitProc *) load(native, LDR_NOFLAGS); if (lm == LDR_NULL_MODULE) { /* @@ -101,7 +101,7 @@ TclpDlopen( Tcl_DString ds; native = Tcl_UtfToExternalDString(NULL, fileName, -1, &ds); - lm = (Tcl_PackageInitProc *) load(native, LDR_NOFLAGS); + lm = (Tcl_LibraryInitProc *) load(native, LDR_NOFLAGS); Tcl_DStringFree(&ds); } |