diff options
| author | hobbs <hobbs> | 2001-11-21 02:36:18 (GMT) |
|---|---|---|
| committer | hobbs <hobbs> | 2001-11-21 02:36:18 (GMT) |
| commit | 1d256e5e186cb0a79ecb25920449accdbf6e19bc (patch) | |
| tree | d6c9734d5b8944f4d96bc77057fc560b661f57c4 /generic/tclUtil.c | |
| parent | 8e9dc7f9bcc86bdfacc062f12ecb65a68e17eba0 (diff) | |
| download | tcl-1d256e5e186cb0a79ecb25920449accdbf6e19bc.zip tcl-1d256e5e186cb0a79ecb25920449accdbf6e19bc.tar.gz tcl-1d256e5e186cb0a79ecb25920449accdbf6e19bc.tar.bz2 | |
added TIP#73 patch #483500 from Kevin Kenny.
This deprecates TclpGetTime in favor of new Tcl_GetTime.
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 ); +} |
