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 @@ extern "C" {
#include <spa/debug/types.h>
#include <spa/buffer/type-info.h>
static inline int spa_debugc_buffer(struct spa_debug_context *ctx, int indent, const struct spa_buffer *buffer)
SPA_API_IMPL int spa_debugc_buffer(struct spa_debug_context *ctx, int indent, const struct spa_buffer *buffer)
{
uint32_t i;
@ -98,7 +98,7 @@ static inline int spa_debugc_buffer(struct spa_debug_context *ctx, int indent, c
return 0;
}
static inline int spa_debug_buffer(int indent, const struct spa_buffer *buffer)
SPA_API_IMPL int spa_debug_buffer(int indent, const struct spa_buffer *buffer)
{
return spa_debugc_buffer(NULL, indent, buffer);
}