Go to the source code of this file.
|
#define | PW_ARRAY_INIT(extend) (struct pw_array) { NULL, 0, 0, extend } |
|
#define | pw_array_get_len_s(a, s) ((a)->size / (s)) |
|
#define | pw_array_get_unchecked_s(a, idx, s, t) SPA_MEMBER((a)->data,(idx)*(s),t) |
|
#define | pw_array_check_index_s(a, idx, s) ((idx) < pw_array_get_len_s(a,s)) |
|
#define | pw_array_for_each(pos, array) |
|
◆ pw_array_check_index_s
◆ pw_array_for_each
#define pw_array_for_each |
( |
|
pos, |
|
|
|
array |
|
) |
| |
◆ pw_array_get_len_s
#define pw_array_get_len_s |
( |
|
a, |
|
|
|
s |
|
) |
| ((a)->size / (s)) |
◆ pw_array_get_unchecked_s
#define pw_array_get_unchecked_s |
( |
|
a, |
|
|
|
idx, |
|
|
|
s, |
|
|
|
t |
|
) |
| SPA_MEMBER((a)->data,(idx)*(s),t) |
◆ PW_ARRAY_INIT
#define PW_ARRAY_INIT |
( |
|
extend | ) |
(struct pw_array) { NULL, 0, 0, extend } |