diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-05-31 12:20:40 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-05-31 12:20:40 (GMT) |
| commit | a8f9285bd0caab44eabbdac73de5bfb58cb35cb3 (patch) | |
| tree | 10fe9f27523a891983a73018b0f39ca556c9c580 /generic/tclUtil.c | |
| parent | e80cd8e2841210153d80ec6fe42342d91d74a6d7 (diff) | |
| parent | bbcbb88d883dcc18f919fea1bf078fb8168cfcba (diff) | |
| download | tcl-a8f9285bd0caab44eabbdac73de5bfb58cb35cb3.zip tcl-a8f9285bd0caab44eabbdac73de5bfb58cb35cb3.tar.gz tcl-a8f9285bd0caab44eabbdac73de5bfb58cb35cb3.tar.bz2 | |
TIP #544 implementation: Export TclGetIntForIndex()
Diffstat (limited to 'generic/tclUtil.c')
| -rw-r--r-- | generic/tclUtil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c index 2889852..4387c75 100644 --- a/generic/tclUtil.c +++ b/generic/tclUtil.c @@ -121,7 +121,7 @@ static int FindElement(Tcl_Interp *interp, const char *string, /* * The following is the Tcl object type definition for an object that * represents a list index in the form, "end-offset". It is used as a - * performance optimization in TclGetIntForIndex. The internal rep is + * performance optimization in Tcl_GetIntForIndex. The internal rep is * stored directly in the wideValue, so no memory management is required * for it. This is a caching intrep, keeping the result of a parse * around. This type is only created from a pre-existing string, so an @@ -3872,7 +3872,7 @@ GetWideForIndex( /* *---------------------------------------------------------------------- * - * TclGetIntForIndex -- + * Tcl_GetIntForIndex -- * * This function returns an integer corresponding to the list index held * in a Tcl object. The Tcl object's value is expected to be in the @@ -3894,7 +3894,7 @@ GetWideForIndex( */ int -TclGetIntForIndex( +Tcl_GetIntForIndex( Tcl_Interp *interp, /* Interpreter to use for error reporting. If * NULL, then no error message is left after * errors. */ |
