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

@ -22,7 +22,7 @@ struct spa_result_device_params_data {
struct spa_result_device_params data;
};
static inline void spa_result_func_device_params(void *data, int seq SPA_UNUSED, int res SPA_UNUSED,
SPA_API_IMPL void spa_result_func_device_params(void *data, int seq SPA_UNUSED, int res SPA_UNUSED,
uint32_t type SPA_UNUSED, const void *result)
{
struct spa_result_device_params_data *d =
@ -36,7 +36,7 @@ static inline void spa_result_func_device_params(void *data, int seq SPA_UNUSED,
d->data.param = spa_pod_builder_deref(d->builder, offset);
}
static inline int spa_device_enum_params_sync(struct spa_device *device,
SPA_API_IMPL int spa_device_enum_params_sync(struct spa_device *device,
uint32_t id, uint32_t *index,
const struct spa_pod *filter,
struct spa_pod **param,