spa: use static inline for interfaces instead of macro

It gives better typechecking and a path to make a library of functions.
This commit is contained in:
Wim Taymans 2024-11-19 19:57:37 +01:00
parent 5e0e1204d7
commit 84bd4b7ea9
32 changed files with 1069 additions and 563 deletions

View file

@ -8,6 +8,8 @@
#include <locale.h>
#include <ncurses.h>
#undef clear
#include <spa/utils/result.h>
#include <spa/utils/string.h>
#include <spa/pod/parser.h>