diff options
author | hobbs <hobbs@noemail.net> | 2001-11-21 02:36:17 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2001-11-21 02:36:17 (GMT) |
commit | ad54418aa922f18d6b8407e93e661701f1b51f22 (patch) | |
tree | d6c9734d5b8944f4d96bc77057fc560b661f57c4 /generic/tclUtil.c | |
parent | 639e6f85d302a39301bac66f50bd50348f2891b7 (diff) | |
download | tcl-ad54418aa922f18d6b8407e93e661701f1b51f22.zip tcl-ad54418aa922f18d6b8407e93e661701f1b51f22.tar.gz tcl-ad54418aa922f18d6b8407e93e661701f1b51f22.tar.bz2 |
added TIP#73 patch #483500 from Kevin Kenny.
This deprecates TclpGetTime in favor of new Tcl_GetTime.
FossilOrigin-Name: ad0e26f63b8c18f13f7c0131933099e11df86010
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r-- | generic/tclUtil.c | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c index 19f4850..11134be 100644 --- a/generic/tclUtil.c +++ b/generic/tclUtil.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUtil.c,v 1.25 2001/11/14 23:17:04 hobbs Exp $ + * RCS: @(#) $Id: tclUtil.c,v 1.26 2001/11/21 02:36:21 hobbs Exp $ */ #include "tclInt.h" @@ -2255,7 +2255,7 @@ TclGetIntForIndex(interp, objPtr, endValue, indexPtr) *---------------------------------------------------------------------- */ -void +static void UpdateStringOfEndOffset( objPtr ) register Tcl_Obj* objPtr; { @@ -2453,3 +2453,29 @@ Tcl_GetNameOfExecutable() { return (tclExecutableName); } + +/* + *---------------------------------------------------------------------- + * + * TclpGetTime -- + * + * Deprecated synonym for Tcl_GetTime. + * + * Results: + * None. + * + * Side effects: + * Stores current time in the buffer designated by "timePtr" + * + * This procedure is provided for the benefit of extensions written + * before Tcl_GetTime was exported from the library. + * + *---------------------------------------------------------------------- + */ + +void +TclpGetTime( timePtr ) + Tcl_Time* timePtr; +{ + Tcl_GetTime( timePtr ); +} |