Skip to content
Tcl Source Code Changes To branch/c11-tcloo-foreach
Login

Changes To branch/c11-tcloo-foreach

Changes to "branch/c11-tcloo-foreach" between 2025-10-25 13:28:03 and 2025-10-27 11:48:41

1

2
3

1
2
3
-
+


This is based on the much wider changes in the `c-std-update` branch.
This is based on the much wider changes in the [`c-std-update`](https://core.tcl-lang.org/tcl/timeline?r=c-std-update) branch.

This branch updates TclOO's `FOREACH`-related macros to use C11 variable placement, which is much neater in many common cases. But not all; the new `FOREACH_IDX` and `FOREACH_IDX_STRUCT` macros are for the cases where the actual indexes are required (either in the loop or afterward).