summaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-11-21 02:36:18 (GMT)
committerhobbs <hobbs>2001-11-21 02:36:18 (GMT)
commitcff9c3309b2e3c096c301a94bff0d9804be13520 (patch)
treed6c9734d5b8944f4d96bc77057fc560b661f57c4 /mac
parentf59ffab94e11d0dc9efd7189ec5c64e904cdfedd (diff)
downloadtcl-cff9c3309b2e3c096c301a94bff0d9804be13520.zip
tcl-cff9c3309b2e3c096c301a94bff0d9804be13520.tar.gz
tcl-cff9c3309b2e3c096c301a94bff0d9804be13520.tar.bz2
added TIP#73 patch #483500 from Kevin Kenny.
This deprecates TclpGetTime in favor of new Tcl_GetTime.
Diffstat (limited to 'mac')
-rw-r--r--mac/tclMacNotify.c4
-rw-r--r--mac/tclMacShLib.exp1
-rw-r--r--mac/tclMacTime.c8
3 files changed, 7 insertions, 6 deletions
diff --git a/mac/tclMacNotify.c b/mac/tclMacNotify.c
index 93820ba..50844cd 100644
--- a/mac/tclMacNotify.c
+++ b/mac/tclMacNotify.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclMacNotify.c,v 1.6 1999/08/10 04:21:40 jingham Exp $
+ * RCS: @(#) $Id: tclMacNotify.c,v 1.7 2001/11/21 02:36:21 hobbs Exp $
*/
#include "tclInt.h"
@@ -351,7 +351,7 @@ Tcl_SetTimer(
* Compute when the timer should fire.
*/
- TclpGetTime(&notifier.timer);
+ Tcl_GetTime(&notifier.timer);
notifier.timer.sec += timePtr->sec;
notifier.timer.usec += timePtr->usec;
if (notifier.timer.usec >= 1000000) {
diff --git a/mac/tclMacShLib.exp b/mac/tclMacShLib.exp
index 8ada490..9689ccd 100644
--- a/mac/tclMacShLib.exp
+++ b/mac/tclMacShLib.exp
@@ -510,6 +510,7 @@ Tcl_GetSlave
Tcl_GetStdChannel
Tcl_GetStringFromObj
Tcl_GetStringResult
+Tcl_GetTime
Tcl_GetVar
Tcl_GetVar2
Tcl_GetVariableFullName
diff --git a/mac/tclMacTime.c b/mac/tclMacTime.c
index 25bf08e..1fc1231 100644
--- a/mac/tclMacTime.c
+++ b/mac/tclMacTime.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclMacTime.c,v 1.4 2001/07/31 19:12:07 vincentdarley Exp $
+ * RCS: @(#) $Id: tclMacTime.c,v 1.5 2001/11/21 02:36:21 hobbs Exp $
*/
#include "tclInt.h"
@@ -19,7 +19,7 @@
#include <time.h>
/*
- * Static variables used by the TclpGetTime function.
+ * Static variables used by the Tcl_GetTime function.
*/
static int initalized = false;
@@ -173,7 +173,7 @@ TclpGetTimeZone (
/*
*----------------------------------------------------------------------
*
- * TclpGetTime --
+ * Tcl_GetTime --
*
* Gets the current system time in seconds and microseconds
* since the beginning of the epoch: 00:00 UCT, January 1, 1970.
@@ -188,7 +188,7 @@ TclpGetTimeZone (
*/
void
-TclpGetTime(
+Tcl_GetTime(
Tcl_Time *timePtr) /* Location to store time information. */
{
UnsignedWide micro;