make static inline -> SPA_API_IMPL

So that we can export the symbols as well.
This commit is contained in:
Wim Taymans 2024-11-20 11:48:08 +01:00
parent 84bd4b7ea9
commit 90b0e45037
91 changed files with 563 additions and 552 deletions

View file

@ -23,7 +23,7 @@ struct spa_result_node_params_data {
struct spa_result_node_params data;
};
static inline void spa_result_func_node_params(void *data,
SPA_API_IMPL void spa_result_func_node_params(void *data,
int seq SPA_UNUSED, int res SPA_UNUSED, uint32_t type SPA_UNUSED, const void *result)
{
struct spa_result_node_params_data *d =
@ -37,7 +37,7 @@ static inline void spa_result_func_node_params(void *data,
d->data.param = spa_pod_builder_deref(d->builder, offset);
}
static inline int spa_node_enum_params_sync(struct spa_node *node,
SPA_API_IMPL int spa_node_enum_params_sync(struct spa_node *node,
uint32_t id, uint32_t *index,
const struct spa_pod *filter,
struct spa_pod **param,
@ -70,7 +70,7 @@ static inline int spa_node_enum_params_sync(struct spa_node *node,
return res;
}
static inline int spa_node_port_enum_params_sync(struct spa_node *node,
SPA_API_IMPL int spa_node_port_enum_params_sync(struct spa_node *node,
enum spa_direction direction, uint32_t port_id,
uint32_t id, uint32_t *index,
const struct spa_pod *filter,