mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-08 13:30:08 -05:00
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[]`. |
||
|---|---|---|
| .. | ||
| ansi.h | ||
| defs.h | ||
| dict.h | ||
| hook.h | ||
| json.h | ||
| keys.h | ||
| list.h | ||
| names.h | ||
| result.h | ||
| ringbuffer.h | ||
| string.h | ||
| type-info.h | ||
| type.h | ||