[Mesa-dev] [PATCH 0/9] glsl: Add C API to exec_node/exec_list.

Matt Turner mattst88 at gmail.com
Tue Jun 10 11:00:43 PDT 2014

Our most frequently used list implementation was only usable from
C by manipulating the members of the structs. This series adds a
C API, wraps the C API with the C++ member functions (so no change
for C++ code), makes the foreach_list macros usable from C, and
replaces an open-coded list in the i965 driver with exec_list.

The C API consists of static inline functions, and the C++ member
functions are also marked inline.

More information about the mesa-dev mailing list