diff options
author | pspjuth <peter.spjuth@gmail.com> | 2017-12-29 18:58:01 (GMT) |
---|---|---|
committer | pspjuth <peter.spjuth@gmail.com> | 2017-12-29 18:58:01 (GMT) |
commit | 651697f7cd746dded1a031d4217376000a176037 (patch) | |
tree | 42c2d880310b7bf6efc524044d9cbe14f041dc08 /generic/tclInt.h | |
parent | 0f6d3fd95989e7b5c22a40bbdc90631e3ae10bc1 (diff) | |
download | tcl-651697f7cd746dded1a031d4217376000a176037.zip tcl-651697f7cd746dded1a031d4217376000a176037.tar.gz tcl-651697f7cd746dded1a031d4217376000a176037.tar.bz2 |
Refactored lrange to common function.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 2ba0493..8322095 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -3069,6 +3069,8 @@ MODULE_SCOPE Tcl_Obj * TclLindexFlat(Tcl_Interp *interp, Tcl_Obj *listPtr, MODULE_SCOPE void TclListLines(Tcl_Obj *listObj, int line, int n, int *lines, Tcl_Obj *const *elems); MODULE_SCOPE Tcl_Obj * TclListObjCopy(Tcl_Interp *interp, Tcl_Obj *listPtr); +MODULE_SCOPE Tcl_Obj * TclListObjRange(Tcl_Obj *listPtr, int fromIdx, + int toIdx); MODULE_SCOPE Tcl_Obj * TclLsetList(Tcl_Interp *interp, Tcl_Obj *listPtr, Tcl_Obj *indexPtr, Tcl_Obj *valuePtr); MODULE_SCOPE Tcl_Obj * TclLsetFlat(Tcl_Interp *interp, Tcl_Obj *listPtr, |