summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-05 17:50:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-05 17:50:29 (GMT)
commitefad5aaad5df8cb2d14ec3702f85898a0d8d831e (patch)
treedea87f3ea36ee4b29b140c775f22ed052cc19fff /generic/tcl.h
parent78c53b37ab0bf3c76d498a839f6659235efff3cd (diff)
parent708d24cc2db91bc756e868c21cc1cde376f040b3 (diff)
downloadtcl-efad5aaad5df8cb2d14ec3702f85898a0d8d831e.zip
tcl-efad5aaad5df8cb2d14ec3702f85898a0d8d831e.tar.gz
tcl-efad5aaad5df8cb2d14ec3702f85898a0d8d831e.tar.bz2
Merge 9.0
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index faf0d49..ea0bfdc 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -580,7 +580,6 @@ typedef void (Tcl_MainLoopProc) (void);
/* Undocumented. To be formalized by TIP #595 */
#define Tcl_LibraryInitProc Tcl_PackageInitProc
#define Tcl_LibraryUnloadProc Tcl_PackageUnloadProc
-#define Tcl_StaticLibrary Tcl_StaticPackage
/*
*----------------------------------------------------------------------------
@@ -2194,10 +2193,12 @@ EXTERN const char * Tcl_FindExecutable(const char *argv0);
EXTERN const char * Tcl_InitSubsystems(void);
EXTERN const char * Tcl_SetPanicProc(
TCL_NORETURN1 Tcl_PanicProc *panicProc);
-EXTERN void Tcl_StaticPackage(Tcl_Interp *interp,
+EXTERN void Tcl_StaticLibrary(Tcl_Interp *interp,
const char *prefix,
- Tcl_PackageInitProc *initProc,
- Tcl_PackageInitProc *safeInitProc);
+ Tcl_LibraryInitProc *initProc,
+ Tcl_LibraryInitProc *safeInitProc);
+/* Undocumented. To be formalized by TIP #595 */
+# define Tcl_StaticPackage Tcl_StaticLibrary
EXTERN Tcl_ExitProc *Tcl_SetExitProc(TCL_NORETURN1 Tcl_ExitProc *proc);
#ifdef _WIN32
EXTERN const char *TclZipfs_AppHook(int *argc, wchar_t ***argv);