summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-20 08:31:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-20 08:31:04 (GMT)
commit522f8027b2de092fb9684f8135dedc0aba75217c (patch)
treecd2c4c457e71e8ea2303c50cf887eb3d15bc6d87 /generic/tkInt.h
parent55b8b289c6821cff7faa7552c53d0ee5d11e93f4 (diff)
downloadtk-522f8027b2de092fb9684f8135dedc0aba75217c.zip
tk-522f8027b2de092fb9684f8135dedc0aba75217c.tar.gz
tk-522f8027b2de092fb9684f8135dedc0aba75217c.tar.bz2
More usage of (internal) TkGetIntForIndex() function, and give this function an additional parameter "lastOK". This way,
"end" doesn't need to be handled especially in other code places, all is centralized in this single functions. Only Ttk's "treeview" not done yet, since that requires handling a linked list in stead of an array.
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r--generic/tkInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 5950757..97a0c69 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -1347,7 +1347,7 @@ MODULE_SCOPE int TkListCreateFrame(ClientData clientData,
MODULE_SCOPE void TkRotatePoint(double originX, double originY,
double sine, double cosine, double *xPtr,
double *yPtr);
-MODULE_SCOPE int TkGetIntForIndex(Tcl_Obj *, TkSizeT, TkSizeT*);
+MODULE_SCOPE int TkGetIntForIndex(Tcl_Obj *, TkSizeT, int lastOK, TkSizeT*);
#ifdef _WIN32