Files
glibc/include
H. Peter Anvin c66801f361 include/array_length.h: add array_foreach[_const] macros
Add simple-to-use iterator macros for arrays.  They are used instead
of explicit for statements, like:

      /* Test all common speeds */
      array_foreach_const (ts, test_speeds)
	test (fd, *ts);

In this case, ts will be a const pointer to each of the elements of
test_speeds in turn.

Named array_foreach*() to allow for other kinds of equivalent iterator
macros in the future.

Signed-off-by: "H. Peter Anvin" (Intel) <hpa@zytor.com>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2025-06-17 09:57:40 -03:00
..
2021-06-22 12:09:52 -03:00
2023-05-01 19:33:21 +02:00
2025-01-28 18:25:13 +01:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-07-22 18:38:04 +05:30
2021-06-30 08:43:37 +02:00
2023-10-24 12:30:59 +02:00
2023-05-01 09:08:59 -04:00
2019-05-02 11:42:51 +02:00
2023-10-24 12:30:59 +02:00
2019-10-09 17:48:41 -03:00
2024-01-03 12:07:14 +00:00
2024-04-10 14:53:39 -03:00
2021-06-30 08:43:37 +02:00
2019-11-06 09:20:52 -03:00
2024-02-01 11:02:01 +00:00