mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-15 12:22:47 +00:00
84b9644ee3
To iterate over an array of `T`, the iterator must be `(const) T *`, so that the types are compatible when `T[]` decays into `T *`. In the example when `struct foo *[]` decays, it becomes `struct foo **`, which is not compatible with the the type of iterator, `struct foo *`. Fix that by changing the type of the array to `struct foo[]`. |
||
---|---|---|
.. | ||
examples | ||
include | ||
plugins | ||
tests | ||
tools | ||
meson.build |