summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-22 09:24:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-22 09:24:13 (GMT)
commit4612b57a1e761b1dc3dd970b8dc318d4e2953360 (patch)
treebd82b61c182b6f50b9e6161505c56bfb1b41a0f3
parentb02ecd46ec30166ee02a694b852d66c7c6dd7099 (diff)
downloadtcl-4612b57a1e761b1dc3dd970b8dc318d4e2953360.zip
tcl-4612b57a1e761b1dc3dd970b8dc318d4e2953360.tar.gz
tcl-4612b57a1e761b1dc3dd970b8dc318d4e2953360.tar.bz2
Change exported symbol from TclMacOSXNotifierAddRunLoopMode -> Tcl_MacOSXNotifierAddRunLoopMode
-rw-r--r--generic/tclPlatDecls.h4
-rw-r--r--generic/tclStubInit.c4
-rw-r--r--macosx/tclMacOSXNotify.c2
3 files changed, 4 insertions, 6 deletions
diff --git a/generic/tclPlatDecls.h b/generic/tclPlatDecls.h
index 106f8d8..8a1c6a5 100644
--- a/generic/tclPlatDecls.h
+++ b/generic/tclPlatDecls.h
@@ -21,10 +21,6 @@
# endif
#endif
-#if defined( MAC_OSX_TCL) && !defined(USE_TCL_STUBS)
-#define Tcl_MacOSXNotifierAddRunLoopMode TclMacOSXNotifierAddRunLoopMode
-#endif
-
/*
* WARNING: This file is automatically generated by the tools/genStubs.tcl
* script. Any modifications to the function declarations below should be made
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index 54945de..dd7dc26 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -397,7 +397,9 @@ TclWinGetPlatformId(void)
#define TclpCreateTempFile_ TclpCreateTempFile
#define TclUnixWaitForFile_ TclUnixWaitForFile
-#ifndef MAC_OSX_TCL /* On UNIX, fill with other stub entries */
+#ifdef MAC_OSX_TCL /* On UNIX, fill with other stub entries */
+#define TclMacOSXNotifierAddRunLoopMode Tcl_MacOSXNotifierAddRunLoopMode
+#else
#define TclMacOSXGetFileAttribute (int (*)(Tcl_Interp *, int, Tcl_Obj *, Tcl_Obj **))(void *)TclpCreateProcess
#define TclMacOSXSetFileAttribute (int (*)(Tcl_Interp *, int, Tcl_Obj *, Tcl_Obj *))(void *)isatty
#define TclMacOSXCopyFileAttributes (int (*)(const char *, const char *, const Tcl_StatBuf *))(void *)TclUnixCopyFile
diff --git a/macosx/tclMacOSXNotify.c b/macosx/tclMacOSXNotify.c
index 5279358..5bdc5a3 100644
--- a/macosx/tclMacOSXNotify.c
+++ b/macosx/tclMacOSXNotify.c
@@ -715,7 +715,7 @@ Tcl_InitNotifier(void)
*/
void
-TclMacOSXNotifierAddRunLoopMode(
+Tcl_MacOSXNotifierAddRunLoopMode(
const void *runLoopMode)
{
ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey);