Blender  V3.3
GHOST_WaylandUtils.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 #ifdef __cplusplus
10 # undef wl_array_for_each
15 # define WL_ARRAY_FOR_EACH(pos, array) \
16  for (pos = (decltype(pos))((array)->data); \
17  (const char *)pos < ((const char *)(array)->data + (array)->size); \
18  (pos)++)
19 #endif