blender/intern/cycles/util/foreach.h

13 lines
277 B
C

/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __UTIL_FOREACH_H__
#define __UTIL_FOREACH_H__
/* Nice foreach() loops for STL data structures. */
#define foreach(x, y) for (x : y)
#endif /* __UTIL_FOREACH_H__ */