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

Changes To branch/c11-tcloo-foreach

Initial version of "branch/c11-tcloo-foreach"




1
2
3
+
+
+
This is based on the much wider changes in the `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).